[Python-checkins] Updated documentation for FOR_ITER (GH-19113)
laike9m
webhook-mailer at python.org
Mon Mar 23 21:03:10 EDT 2020
https://github.com/python/cpython/commit/70d9d74411c121896820e137ecd56e55c087adcc
commit: 70d9d74411c121896820e137ecd56e55c087adcc
branch: master
author: laike9m <laike9m at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020-03-24T09:03:06+08:00
summary:
Updated documentation for FOR_ITER (GH-19113)
Added a comma to make the sentence less confusing.
files:
M Doc/library/dis.rst
diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst
index 020942b647b93..2e1cdeda953a5 100644
--- a/Doc/library/dis.rst
+++ b/Doc/library/dis.rst
@@ -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*.
More information about the Python-checkins
mailing list