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:
Georg Brandl 2008-01-20 11:22:21 +00:00
parent c31b0f78e5
commit 78b11870a4
3 changed files with 2 additions and 35 deletions

View file

@ -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))