File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ item. This comes with a few drawbacks:
1181181. It obscures the intent of the code and increases the amount of effort
119119 necessary to work with asynchronous generators, because each delegation
120120 point becomes a loop. This damages the power of asynchronous generators.
121- 2. :meth: `~agend .asend `, :meth: `~agen.athrow `, and :meth: `~agen.aclose `,
121+ 2. :meth: `~agen .asend `, :meth: `~agen.athrow `, and :meth: `~agen.aclose `,
122122 do not interact properly with the caller. This is the primary reason that
123123 ``yield from `` was added in the first place.
1241243. Return values are not natively supported with asynchronous generators. The
@@ -188,7 +188,7 @@ All subgenerator delegation semantics are retained.
188188
1891891. :meth: `~object.__aiter__ ` is called to retrieve the asynchronous
190190 generator iterator.
191- 2. :meth: `~object.__asend__ ` is called to advance the asynchronous generator.
191+ 2. :meth: `~agen.asend ` is called to advance the asynchronous generator.
192192
193193``async yield from `` is only allowed in an asynchronous generator function;
194194using it elsewhere will raise a :exc: `SyntaxError `.
You can’t perform that action at this time.
0 commit comments