Author: Martin Matusiak <[email protected]>
Branch: py3.3
Changeset: r72644:2c73a529647b
Date: 2014-07-31 18:35 +0200
http://bitbucket.org/pypy/pypy/changeset/2c73a529647b/
Log: use space.call_method over w_result.sort
diff --git a/pypy/interpreter/module.py b/pypy/interpreter/module.py
--- a/pypy/interpreter/module.py
+++ b/pypy/interpreter/module.py
@@ -129,7 +129,7 @@
w__dict__ = space.getattr(self, space.wrap('__dict__'))
result = space.listview(w__dict__)
w_result = space.wrap(result)
- w_result.sort(False)
+ space.call_method(w_result, 'sort')
return w_result
except OperationError as e:
if e.match(space, space.w_AttributeError):
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit