From d65d2b746d435f3e2dffd87def78442edbd7452b Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Tue, 7 Jul 2009 12:00:30 +0100 Subject: [PATCH] typo --- pybindgen/cppclass.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pybindgen/cppclass.py b/pybindgen/cppclass.py index 8085661..daaa6c0 100644 --- a/pybindgen/cppclass.py +++ b/pybindgen/cppclass.py @@ -1654,7 +1654,7 @@ typedef struct { def _generate_sequence_methods(self, code_sink): if not ("__len__" in self.methods or "__setitem__" in self.methods - or "__setitem__" in self.methods): + or "__getitem__" in self.methods): return 'NULL'