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
663fffa4
Commit
663fffa4
authored
Mar 25, 2009
by
Brett Cannon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a circular import dependency.
parent
52dc06b2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/weakref.py
Lib/weakref.py
+2
-2
No files found.
Lib/weakref.py
View file @
663fffa4
...
...
@@ -9,8 +9,6 @@ http://www.python.org/dev/peps/pep-0205/
# they are called this instead of "ref" to avoid name collisions with
# the module-global ref() function imported from _weakref.
import
collections
from
_weakref
import
(
getweakrefcount
,
getweakrefs
,
...
...
@@ -22,6 +20,8 @@ from _weakref import (
from
_weakrefset
import
WeakSet
import
collections
# Import after _weakref to avoid circular import.
ProxyTypes
=
(
ProxyType
,
CallableProxyType
)
__all__
=
[
"ref"
,
"proxy"
,
"getweakrefcount"
,
"getweakrefs"
,
...
...
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