[pypy-commit] pypy reflex-support: fix typo
wlav
noreply at buildbot.pypy.org
Wed Mar 14 14:27:00 CET 2012
Author: Wim Lavrijsen <WLavrijsen at lbl.gov>
Branch: reflex-support
Changeset: r53552:b84f60b7e2dc
Date: 2012-03-13 03:08 -0700
http://bitbucket.org/pypy/pypy/changeset/b84f60b7e2dc/
Log: fix typo
diff --git a/pypy/module/cppyy/pythonify.py b/pypy/module/cppyy/pythonify.py
--- a/pypy/module/cppyy/pythonify.py
+++ b/pypy/module/cppyy/pythonify.py
@@ -321,7 +321,7 @@
# TODO: clean this up
# fixup lack of __getitem__ if no const return
- if hasattr(pyclass, '__setitem__') and not hasattr(pyclass, '__getitem___'):
+ if hasattr(pyclass, '__setitem__') and not hasattr(pyclass, '__getitem__'):
pyclass.__getitem__ = pyclass.__setitem__
_loaded_dictionaries = {}
More information about the pypy-commit
mailing list