]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Updated documentation for FOR_ITER (GH-19113)
authorlaike9m <laike9m@users.noreply.github.com>
Tue, 24 Mar 2020 01:03:06 +0000 (18:03 -0700)
committerGitHub <noreply@github.com>
Tue, 24 Mar 2020 01:03:06 +0000 (09:03 +0800)
Added a comma to make the sentence less confusing.

Doc/library/dis.rst

index 020942b647b93abd9039f6c7c6560115f125437d..2e1cdeda953a5422e990baaebc1efb0c2f379f8d 100644 (file)
@@ -986,7 +986,7 @@ All of the following opcodes use their arguments.
 
    TOS is an :term:`iterator`.  Call its :meth:`~iterator.__next__` method.  If
    this yields a new value, push it on the stack (leaving the iterator below
-   it).  If the iterator indicates it is exhausted TOS is popped, and the byte
+   it).  If the iterator indicates it is exhausted, TOS is popped, and the byte
    code counter is incremented by *delta*.