Fixed another E701

This commit is contained in:
Julien Schueller 2014-06-06 15:13:23 +02:00
commit f4fffbf668
3 changed files with 18 additions and 9 deletions

View file

@ -710,7 +710,8 @@ namespace swig
#if defined(SWIGPYTHON_BUILTIN)
%feature("python:slot", "tp_iter", functype="getiterfunc") iterator;
#else
%pythoncode {def __iter__(self): return self.iterator()}
%pythoncode {def __iter__(self):
return self.iterator()}
#endif
}