-
-
Notifications
You must be signed in to change notification settings - Fork 32.9k
Open
Labels
Description
Documentation
The del statement doc says:
Deletion of a name removes the binding of that name from the local or global namespace, depending on whether the name occurs in a global statement in the same code block.
If the name is unbound, a NameError exception will be raised.
The last sentence is confusing; it could be better, something like
If you access an unbound name, an exception NameError will be raised.
Linked PRs
Metadata
Metadata
Assignees
Labels
Projects
Status
Todo