summaryrefslogtreecommitdiff
path: root/Examples/test-suite/errors/swig_pythoncode_bad3.i
diff options
context:
space:
mode:
authorWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-29 18:57:09 +0100
committerWilliam S Fulton <wsf@fultondesigns.co.uk>2015-07-30 08:26:17 +0100
commite69cc0c0f5dbd8c7950dcdd466aa504f8bbc9a9b (patch)
tree8e155fc9fccfb060f707c0e16d481bd0535a3435 /Examples/test-suite/errors/swig_pythoncode_bad3.i
parenta779f9bbc1aebb832663442a53dc70398858a310 (diff)
downloadswig-docstring-indentation.tar.gz
Improve python code indentation warning / error messagesdocstring-indentation
Diffstat (limited to 'Examples/test-suite/errors/swig_pythoncode_bad3.i')
-rw-r--r--Examples/test-suite/errors/swig_pythoncode_bad3.i7
1 files changed, 7 insertions, 0 deletions
diff --git a/Examples/test-suite/errors/swig_pythoncode_bad3.i b/Examples/test-suite/errors/swig_pythoncode_bad3.i
new file mode 100644
index 000000000..5759158d9
--- /dev/null
+++ b/Examples/test-suite/errors/swig_pythoncode_bad3.i
@@ -0,0 +1,7 @@
+%module xxx
+
+%pythoncode %{
+ def extra():
+ print "extra a" # indentation is 2 spaces then tab
+ print "extra b" # indentation is tab then 2 spaces
+%}