Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
d09ed68a
Commit
d09ed68a
authored
Apr 01, 2002
by
Jeremy Hylton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Note that it is illegal to delete a cell variable.
Note that deleteing an unbound local will raise a NameError.
parent
2225add2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
Doc/ref/ref6.tex
Doc/ref/ref6.tex
+6
-2
No files found.
Doc/ref/ref6.tex
View file @
d09ed68a
...
@@ -338,12 +338,16 @@ hints.
...
@@ -338,12 +338,16 @@ hints.
Deletion of a target list recursively deletes each target, from left
Deletion of a target list recursively deletes each target, from left
to right.
to right.
Deletion of a name removes the binding of that name
(which must exist)
Deletion of a name removes the binding of that name
from the local or global namespace, depending on whether the name
from the local or global namespace, depending on whether the name
occurs in a
\keyword
{
global
}
statement in the same code block.
occurs in a
\keyword
{
global
}
statement in the same code block. If the
name is unbound, a
\exception
{
NameError
}
exception will be raised.
\stindex
{
global
}
\stindex
{
global
}
\indexii
{
unbinding
}{
name
}
\indexii
{
unbinding
}{
name
}
It is illegal to delete a name from the local namespace if it occurs
as a free variable
\indexii
{
free
}{
varaible
}
in a nested block.
Deletion of attribute references, subscriptions and slicings
Deletion of attribute references, subscriptions and slicings
is passed to the primary object involved; deletion of a slicing
is passed to the primary object involved; deletion of a slicing
is in general equivalent to assignment of an empty slice of the
is in general equivalent to assignment of an empty slice of the
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment