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
a0e4d6ce
Commit
a0e4d6ce
authored
Sep 08, 2002
by
Raymond Hettinger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clarified that the footnote applies to versions 1.5 and after instead of
just version 1.5. Closes SF bug 577793.
parent
57e79459
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Doc/ref/ref3.tex
Doc/ref/ref3.tex
+4
-4
No files found.
Doc/ref/ref3.tex
View file @
a0e4d6ce
...
...
@@ -986,10 +986,10 @@ instead. Also, when \method{__del__()} is invoked in response to a module
being deleted (e.g., when execution of the program is done), other
globals referenced by the
\method
{__
del
__
()
}
method may already have been
deleted. For this reason,
\method
{__
del
__
()
}
methods should do the
absolute minimum needed to maintain external invariants.
Python 1.5
guarantees that globals whose name begins with a single underscore ar
e
deleted from their module before other globals are deleted; if no
other references to such globals exist, this may help in assuring that
absolute minimum needed to maintain external invariants.
Starting with
version 1.5, Python guarantees that globals whose name begins with a singl
e
underscore are deleted from their module before other globals are deleted;
if no
other references to such globals exist, this may help in assuring that
imported modules are still available at the time when the
\method
{__
del
__
()
}
method is called.
\end{notice}
...
...
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