Author: Brian Kearns <[email protected]>
Branch: py3k
Changeset: r62209:c3a770cd870e
Date: 2013-03-07 23:53 -0500
http://bitbucket.org/pypy/pypy/changeset/c3a770cd870e/

Log:    small cleanups

diff --git a/lib_pypy/_collections.py b/lib_pypy/_collections.py
--- a/lib_pypy/_collections.py
+++ b/lib_pypy/_collections.py
@@ -10,7 +10,7 @@
 
 import operator
 try:
-    from _thread import get_ident as _thread_ident
+    from threading import _get_ident as _thread_ident
 except ImportError:
     def _thread_ident():
         return -1
@@ -432,5 +432,5 @@
 
            This API is used by pickle.py and copy.py.
         """
-        return (type(self), (self.default_factory,), None, None, 
iter(self.items()))
+        return (type(self), (self.default_factory,), None, None, self.items())
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to