mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
Fix typo reported by Jesse W on docs@
This commit is contained in:
parent
4802c6ee55
commit
0aecc18bab
1 changed files with 1 additions and 1 deletions
|
@ -583,7 +583,7 @@ And here's an example of changing the counter:
|
|||
|
||||
Because ``yield`` will often be returning ``None``, you should always check for
|
||||
this case. Don't just use its value in expressions unless you're sure that the
|
||||
:meth:`~generator.send` method will be the only method used resume your
|
||||
:meth:`~generator.send` method will be the only method used to resume your
|
||||
generator function.
|
||||
|
||||
In addition to :meth:`~generator.send`, there are two other methods on
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue