mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
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. ........
This commit is contained in:
parent
4e3e21e2cf
commit
f260e443ac
12 changed files with 49 additions and 33 deletions
|
@ -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`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue