summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python_pythoncode.i
Commit message (Collapse)AuthorAgeFilesLines
* Fix or workaround PEP8 warningsOlly Betts2015-06-301-5/+7
|
* Improve handling of whitespace in %pythoncodeOlly Betts2015-06-291-0/+29
Previously SWIG looked at the indentation of the first line and removed that many characters from each subsequent line, regardless of what those characters were. This was made worse because SWIG's preprocessor removes any whitespace before a '#'. Fixes github issue #379, reported by Joe Orton.