@@ -92,8 +92,8 @@ Glossary
92
92
93
93
asynchronous context manager
94
94
An object which controls the environment seen in an
95
- :keyword: `async with ` statement by defining :meth: `__aenter__ ` and
96
- :meth: `__aexit__ ` methods. Introduced by :pep: `492 `.
95
+ :keyword: `async with ` statement by defining :meth: `~object. __aenter__ ` and
96
+ :meth: `~object. __aexit__ ` methods. Introduced by :pep: `492 `.
97
97
98
98
asynchronous generator
99
99
A function which returns an :term: `asynchronous generator iterator `. It
@@ -113,26 +113,26 @@ Glossary
113
113
An object created by a :term: `asynchronous generator ` function.
114
114
115
115
This is an :term: `asynchronous iterator ` which when called using the
116
- :meth: `__anext__ ` method returns an awaitable object which will execute
116
+ :meth: `~object. __anext__ ` method returns an awaitable object which will execute
117
117
the body of the asynchronous generator function until the next
118
118
:keyword: `yield ` expression.
119
119
120
120
Each :keyword: `yield ` temporarily suspends processing, remembering the
121
121
location execution state (including local variables and pending
122
122
try-statements). When the *asynchronous generator iterator * effectively
123
- resumes with another awaitable returned by :meth: `__anext__ `, it
123
+ resumes with another awaitable returned by :meth: `~object. __anext__ `, it
124
124
picks up where it left off. See :pep: `492 ` and :pep: `525 `.
125
125
126
126
asynchronous iterable
127
127
An object, that can be used in an :keyword: `async for ` statement.
128
128
Must return an :term: `asynchronous iterator ` from its
129
- :meth: `__aiter__ ` method. Introduced by :pep: `492 `.
129
+ :meth: `~object. __aiter__ ` method. Introduced by :pep: `492 `.
130
130
131
131
asynchronous iterator
132
- An object that implements the :meth: `__aiter__ ` and :meth: `__anext__ `
133
- methods. `` __anext__ ` ` must return an :term: `awaitable ` object.
132
+ An object that implements the :meth: `~object. __aiter__ ` and :meth: `~object. __anext__ `
133
+ methods. :meth: ` ~object. __anext__ ` must return an :term: `awaitable ` object.
134
134
:keyword: `async for ` resolves the awaitables returned by an asynchronous
135
- iterator's :meth: `__anext__ ` method until it raises a
135
+ iterator's :meth: `~object. __anext__ ` method until it raises a
136
136
:exc: `StopAsyncIteration ` exception. Introduced by :pep: `492 `.
137
137
138
138
attribute
@@ -149,7 +149,7 @@ Glossary
149
149
150
150
awaitable
151
151
An object that can be used in an :keyword: `await ` expression. Can be
152
- a :term: `coroutine ` or an object with an :meth: `__await__ ` method.
152
+ a :term: `coroutine ` or an object with an :meth: `~object. __await__ ` method.
153
153
See also :pep: `492 `.
154
154
155
155
BDFL
0 commit comments