mirror of
https://github.com/python/cpython
synced 2026-09-29 12:10:30 +03:00
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.
This commit is contained in:
parent
c31b0f78e5
commit
78b11870a4
3 changed files with 2 additions and 35 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue