summaryrefslogtreecommitdiffstats
path: root/Doc/tutorial/controlflow.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-20 11:22:21 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-20 11:22:21 (GMT)
commit78b11870a4c441e42cf60dca3a6d22f5896311ba (patch)
tree20d454f372a32cc7b7baf47d8600f14dec0338bc /Doc/tutorial/controlflow.rst
parentc31b0f78e5e0d3eaf872a6187fc76f8d63fa5944 (diff)
downloadcpython-78b11870a4c441e42cf60dca3a6d22f5896311ba.zip
cpython-78b11870a4c441e42cf60dca3a6d22f5896311ba.tar.gz
cpython-78b11870a4c441e42cf60dca3a6d22f5896311ba.tar.bz2
Fix now-wrong :keyword: markup. Remove the section about
"exec without namespace" from the "don't" howto since exec() can't overwrite names in the calling namespace anymore.
Diffstat (limited to 'Doc/tutorial/controlflow.rst')
-rw-r--r--Doc/tutorial/controlflow.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/tutorial/controlflow.rst b/Doc/tutorial/controlflow.rst
index 3fedb56..82a8977 100644
--- a/Doc/tutorial/controlflow.rst
+++ b/Doc/tutorial/controlflow.rst
@@ -263,7 +263,7 @@ like in C, procedures are just functions that don't return a value. In fact,
technically speaking, procedures do return a value, albeit a rather boring one.
This value is called ``None`` (it's a built-in name). Writing the value
``None`` is normally suppressed by the interpreter if it would be the only value
-written. You can see it if you really want to using :keyword:`print`::
+written. You can see it if you really want to using :func:`print`::
>>> fib(0)
>>> print(fib(0))