Author: Antonio Cuni <[email protected]>
Branch: py3k
Changeset: r52729:cad083e080fd
Date: 2012-02-21 12:29 +0100
http://bitbucket.org/pypy/pypy/changeset/cad083e080fd/
Log: s/func_code/__code__
diff --git a/pypy/module/_collections/app_defaultdict.py
b/pypy/module/_collections/app_defaultdict.py
--- a/pypy/module/_collections/app_defaultdict.py
+++ b/pypy/module/_collections/app_defaultdict.py
@@ -25,7 +25,7 @@
def __missing__(self, key):
pass # this method is written at interp-level
- __missing__.func_code = _collections.__missing__.func_code
+ __missing__.__code__ = _collections.__missing__.__code__
def __repr__(self, recurse=set()):
# XXX not thread-safe, but good enough
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit