]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport 1.54 1.53 1.52 1.51 1.50 and 1.49:
authorRaymond Hettinger <python@rcn.com>
Sat, 5 Oct 2002 06:12:08 +0000 (06:12 +0000)
committerRaymond Hettinger <python@rcn.com>
Sat, 5 Oct 2002 06:12:08 +0000 (06:12 +0000)
commitaca53fc9383d707d50e79618dff09d3b840e851b
tree8e007024fe2427b495b458b7c48d3e0a3eb13169
parent66d8b27ce78f92f0dd2407a8f13f7591d9e3201d
Backport 1.54 1.53 1.52 1.51 1.50 and 1.49:

Try to improve the explanation of the "raise" statement and how its arguments
are interpreted.
This closes SF bug #532467.

Fix Typo.

Reword explanation of global statement since an undeclared global is a
free variable and is subject to those rules.

Note the sole case in which the ban on "from ... import *" within a
function is enforced.

Remove the following restriction:
    Names bound by import statements may not occur in global
    statements in the same scope.
Why not?

Note that it is illegal to delete a cell variable.
Note that deleteing an unbound local will raise a NameError.
Doc/ref/ref6.tex