File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -21,9 +21,9 @@ Functions and classes provided:
2121.. class :: AbstractContextManager
2222
2323 An :term: `abstract base class ` for classes that implement
24- :meth: `object.__enter__ ` and :meth: `object.__exit__ `. A default
25- implementation for :meth: `object.__enter__ ` is provided which returns
26- ``self `` while :meth: `object.__exit__ ` is an abstract method which by default
24+ :meth: `~ object.__enter__ ` and :meth: `~ object.__exit__ `. A default
25+ implementation for :meth: `~ object.__enter__ ` is provided which returns
26+ ``self `` while :meth: `~ object.__exit__ ` is an abstract method which by default
2727 returns ``None ``. See also the definition of :ref: `typecontextmanager `.
2828
2929 .. versionadded :: 3.6
@@ -32,9 +32,9 @@ Functions and classes provided:
3232.. class :: AbstractAsyncContextManager
3333
3434 An :term: `abstract base class ` for classes that implement
35- :meth: `object.__aenter__ ` and :meth: `object.__aexit__ `. A default
36- implementation for :meth: `object.__aenter__ ` is provided which returns
37- ``self `` while :meth: `object.__aexit__ ` is an abstract method which by default
35+ :meth: `~ object.__aenter__ ` and :meth: `~ object.__aexit__ `. A default
36+ implementation for :meth: `~ object.__aenter__ ` is provided which returns
37+ ``self `` while :meth: `~ object.__aexit__ ` is an abstract method which by default
3838 returns ``None ``. See also the definition of
3939 :ref: `async-context-managers `.
4040
You can’t perform that action at this time.
0 commit comments