Author: Wim Lavrijsen <wlavrij...@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 = {}
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to