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).
This commit is contained in:
Raymond Hettinger 2008-02-05 00:20:01 +00:00
parent 2add352c43
commit 93fa608626
3 changed files with 115 additions and 107 deletions

View file

@ -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.