bpo-42355: symtable.get_namespace() now checks whether there are multiple or any namespaces found (GH-23278)

This commit is contained in:
Batuhan Taskaya 2021-07-18 15:56:09 +03:00 committed by GitHub
parent 8f50f44592
commit a045991f60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 5 deletions

View file

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