[pypy-svn] pypy collections-module: Add a __module__.
arigo
commits-noreply at bitbucket.org
Tue Feb 15 19:34:47 CET 2011
Author: Armin Rigo <arigo at tunes.org>
Branch: collections-module
Changeset: r41992:935f567813be
Date: 2011-02-15 19:06 +0100
http://bitbucket.org/pypy/pypy/changeset/935f567813be/
Log: Add a __module__.
diff --git a/pypy/module/_collections/interp_deque.py b/pypy/module/_collections/interp_deque.py
--- a/pypy/module/_collections/interp_deque.py
+++ b/pypy/module/_collections/interp_deque.py
@@ -494,6 +494,7 @@
__doc__ = """deque(iterable[, maxlen]) --> deque object
Build an ordered collection accessible from endpoints only.""",
+ __module__ = '_collections',
__new__ = interp2app(descr__new__),
__init__ = interp2app(W_Deque.init),
append = interp2app(W_Deque.append),
More information about the Pypy-commit
mailing list