summaryrefslogtreecommitdiff
path: root/Doc/tutorial/classes.rst
diff options
context:
space:
mode:
authorUltimateCoder <jaysinhp@gmail.com>2017-05-03 22:16:45 +0530
committerMariatta <Mariatta@users.noreply.github.com>2017-05-03 09:46:45 -0700
commit8856940cf2e82cb17db2b684cd5732fe658605ca (patch)
treeb185e240823e78a7b5b3829185140b0f18da1509 /Doc/tutorial/classes.rst
parenta5c62a8e9f0de6c4133825a5710984a3cd5e102b (diff)
downloadcpython-git-8856940cf2e82cb17db2b684cd5732fe658605ca.tar.gz
bpo-28315: Improve code examples in docs (GH-1372)
Replace File "<stdin>", line 1, in ? with File "<stdin>", line 1, in <module>
Diffstat (limited to 'Doc/tutorial/classes.rst')
-rw-r--r--Doc/tutorial/classes.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/classes.rst b/Doc/tutorial/classes.rst
index e134d5d62e..073444cf8b 100644
--- a/Doc/tutorial/classes.rst
+++ b/Doc/tutorial/classes.rst
@@ -784,7 +784,7 @@ using the :func:`next` built-in function; this example shows how it all works::
'c'
>>> next(it)
Traceback (most recent call last):
- File "<stdin>", line 1, in ?
+ File "<stdin>", line 1, in <module>
next(it)
StopIteration