summaryrefslogtreecommitdiffstats
path: root/Lib/abc.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2008-02-05 00:20:01 (GMT)
committerRaymond Hettinger <python@rcn.com>2008-02-05 00:20:01 (GMT)
commit93fa608626562d3925104f98372dbdd27aeafcf0 (patch)
tree2f2b204763333a3e637e3effa274f3b8895c9124 /Lib/abc.py
parent2add352c435f8973274f16c37eb6246f86799722 (diff)
downloadcpython-93fa608626562d3925104f98372dbdd27aeafcf0.zip
cpython-93fa608626562d3925104f98372dbdd27aeafcf0.tar.gz
cpython-93fa608626562d3925104f98372dbdd27aeafcf0.tar.bz2
Moved WeakSet into a bootstap module use by abc.py.
This makes it possible to use ABCs in weakref.py (which will be done in a later checkin).
Diffstat (limited to 'Lib/abc.py')
-rw-r--r--Lib/abc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/abc.py b/Lib/abc.py
index 8751153..8fb61c6 100644
--- a/Lib/abc.py
+++ b/Lib/abc.py
@@ -3,7 +3,7 @@
"""Abstract Base Classes (ABCs) according to PEP 3119."""
-from weakref import WeakSet
+from _weakrefset import WeakSet
def abstractmethod(funcobj):
"""A decorator indicating abstract methods.