diff options
author | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 19:59:59 (GMT) |
---|---|---|
committer | Alexandre Vassalotti <alexandre@peadrop.com> | 2008-05-11 19:59:59 (GMT) |
commit | f260e443ac07bc794fc9409096679b94528868e2 (patch) | |
tree | 244c7542db14c43a2fe52ce5c8b6373d17a19e7f /Doc/reference | |
parent | 4e3e21e2cf896295d568828f2d20dc5a25feff54 (diff) | |
download | cpython-f260e443ac07bc794fc9409096679b94528868e2.zip cpython-f260e443ac07bc794fc9409096679b94528868e2.tar.gz cpython-f260e443ac07bc794fc9409096679b94528868e2.tar.bz2 |
Rename Queue module to queue.
Updated documentation to use new name.
Merged revisions 63077 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r63077 | alexandre.vassalotti | 2008-05-11 15:39:48 -0400 (Sun, 11 May 2008) | 3 lines
Added stub for the Queue module to be renamed in 3.0.
Use the 3.0 module name to avoid spurious warnings.
........
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/simple_stmts.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/reference/simple_stmts.rst b/Doc/reference/simple_stmts.rst index 0b90703..cdf249b 100644 --- a/Doc/reference/simple_stmts.rst +++ b/Doc/reference/simple_stmts.rst @@ -485,7 +485,7 @@ The :keyword:`raise` statement If no expressions are present, :keyword:`raise` re-raises the last exception that was active in the current scope. If no exception is active in the current scope, a :exc:`TypeError` exception is raised indicating that this is an error -(if running under IDLE, a :exc:`Queue.Empty` exception is raised instead). +(if running under IDLE, a :exc:`queue.Empty` exception is raised instead). Otherwise, :keyword:`raise` evaluates the first expression as the exception object. It must be either a subclass or an instance of :class:`BaseException`. |