Author: Manuel Jacob <[email protected]>
Branch: py3.3
Changeset: r82478:864c7d539f4d
Date: 2016-02-24 10:24 +0100
http://bitbucket.org/pypy/pypy/changeset/864c7d539f4d/
Log: Small cleanup: don't wrap already wrapped object.
diff --git a/pypy/interpreter/module.py b/pypy/interpreter/module.py
--- a/pypy/interpreter/module.py
+++ b/pypy/interpreter/module.py
@@ -124,8 +124,7 @@
w_loader = space.finditem(self.w_dict, space.wrap('__loader__'))
if w_loader is not None:
try:
- return space.call_method(w_loader, "module_repr",
- space.wrap(self))
+ return space.call_method(w_loader, "module_repr", self)
except OperationError:
pass
try:
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit