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
5ec84cd6
Commit
5ec84cd6
authored
Jun 15, 2012
by
Antoine Pitrou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue #14933: fix misleading doc about weakref support in extension types.
parent
884fb1c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
Doc/extending/newtypes.rst
Doc/extending/newtypes.rst
+2
-3
No files found.
Doc/extending/newtypes.rst
View file @
5ec84cd6
...
...
@@ -1521,9 +1521,8 @@ The type constructor is responsible for initializing the weak reference list to
}
The only further addition is that the destructor needs to call the weak
reference manager to clear any weak references. This should be done before any
other parts of the destruction have occurred, but is only required if the weak
reference list is non-*NULL*::
reference manager to clear any weak references. This is only required if the
weak reference list is non-*NULL*::
static void
instance_dealloc(PyInstanceObject *inst)
...
...
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