mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-42355: symtable.get_namespace() now checks whether there are multiple or any namespaces found (GH-23278)
This commit is contained in:
parent
8f50f44592
commit
a045991f60
3 changed files with 13 additions and 5 deletions
|
@ -194,5 +194,5 @@ Examining Symbol Tables
|
|||
|
||||
.. method:: get_namespace()
|
||||
|
||||
Return the namespace bound to this name. If more than one namespace is
|
||||
bound, :exc:`ValueError` is raised.
|
||||
Return the namespace bound to this name. If more than one or no namespace
|
||||
is bound to this name, a :exc:`ValueError` is raised.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue