Skip to content

Commit

Permalink
Merge pull request #4 from skritch/master
Browse files Browse the repository at this point in the history
Fixed direct importing of WeakSet and updated import lines in readme
  • Loading branch information
apieum committed May 14, 2016
2 parents 1f6667b + eaa152f commit 4b55bab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Same as a *list* except that when a weakref-able variable is deleted, it is remo

.. code-block:: python
from weakref import WeakList
from weakreflist import WeakList
class A(object):
"""weakrefs don't function directly on object()"""
Expand All @@ -62,7 +62,7 @@ Same as a *list* except that when a weakref-able variable is deleted, it is remo

.. code-block:: python
from weakref import WeakList
from weakreflist import WeakList
import gc
class A(object):
Expand Down
2 changes: 2 additions & 0 deletions weakreflist/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# -*- coding: utf8 -*-
from .weakreflist import WeakList

__all__ = ['weakreflist']

0 comments on commit 4b55bab

Please sign in to comment.