@@ -83,8 +83,8 @@ Glossary
83
83
84
84
asynchronous context manager
85
85
An object which controls the environment seen in an
86
- :keyword: `async with ` statement by defining :meth: `__aenter__ ` and
87
- :meth: `__aexit__ ` methods. Introduced by :pep: `492 `.
86
+ :keyword: `async with ` statement by defining :meth: `~object. __aenter__ ` and
87
+ :meth: `~object. __aexit__ ` methods. Introduced by :pep: `492 `.
88
88
89
89
asynchronous generator
90
90
A function which returns an :term: `asynchronous generator iterator `. It
@@ -104,26 +104,26 @@ Glossary
104
104
An object created by a :term: `asynchronous generator ` function.
105
105
106
106
This is an :term: `asynchronous iterator ` which when called using the
107
- :meth: `__anext__ ` method returns an awaitable object which will execute
107
+ :meth: `~object. __anext__ ` method returns an awaitable object which will execute
108
108
the body of the asynchronous generator function until the next
109
109
:keyword: `yield ` expression.
110
110
111
111
Each :keyword: `yield ` temporarily suspends processing, remembering the
112
112
location execution state (including local variables and pending
113
113
try-statements). When the *asynchronous generator iterator * effectively
114
- resumes with another awaitable returned by :meth: `__anext__ `, it
114
+ resumes with another awaitable returned by :meth: `~object. __anext__ `, it
115
115
picks up where it left off. See :pep: `492 ` and :pep: `525 `.
116
116
117
117
asynchronous iterable
118
118
An object, that can be used in an :keyword: `async for ` statement.
119
119
Must return an :term: `asynchronous iterator ` from its
120
- :meth: `__aiter__ ` method. Introduced by :pep: `492 `.
120
+ :meth: `~object. __aiter__ ` method. Introduced by :pep: `492 `.
121
121
122
122
asynchronous iterator
123
- An object that implements the :meth: `__aiter__ ` and :meth: `__anext__ `
124
- methods. `` __anext__ ` ` must return an :term: `awaitable ` object.
123
+ An object that implements the :meth: `~object. __aiter__ ` and :meth: `~object. __anext__ `
124
+ methods. :meth: ` ~object. __anext__ ` must return an :term: `awaitable ` object.
125
125
:keyword: `async for ` resolves the awaitables returned by an asynchronous
126
- iterator's :meth: `__anext__ ` method until it raises a
126
+ iterator's :meth: `~object. __anext__ ` method until it raises a
127
127
:exc: `StopAsyncIteration ` exception. Introduced by :pep: `492 `.
128
128
129
129
attribute
@@ -140,7 +140,7 @@ Glossary
140
140
141
141
awaitable
142
142
An object that can be used in an :keyword: `await ` expression. Can be
143
- a :term: `coroutine ` or an object with an :meth: `__await__ ` method.
143
+ a :term: `coroutine ` or an object with an :meth: `~object. __await__ ` method.
144
144
See also :pep: `492 `.
145
145
146
146
BDFL
0 commit comments