diff options
author | Neil <nyamatongwe@gmail.com> | 2019-12-14 08:17:00 +1100 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2019-12-14 08:17:00 +1100 |
commit | 4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9 (patch) | |
tree | c2cb66991d89802a7a8b18bde9aa486da5fc9614 /lexilla/test/examples/python/x.py.new | |
parent | 651e4b440ad3019a63b10d972ee36a296020e2c8 (diff) | |
download | scintilla-mirror-4f1b30ebe70a6475ffeca1ce2c0dc48c8e70a5f9.tar.gz |
Lexilla tests.
Diffstat (limited to 'lexilla/test/examples/python/x.py.new')
-rw-r--r-- | lexilla/test/examples/python/x.py.new | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/lexilla/test/examples/python/x.py.new b/lexilla/test/examples/python/x.py.new new file mode 100644 index 000000000..983c3b83c --- /dev/null +++ b/lexilla/test/examples/python/x.py.new @@ -0,0 +1,11 @@ +{1}# Convert all punctuation characters except '_', '*', and '.' into spaces.{0}
+{5}def{0} {9}depunctuate{10}({11}s{10}):{0}
+ {6}'''A docstring'''{0}
+ {7}"""Docstring 2"""{0}
+ {11}d{0} {10}={0} {3}""{0}
+ {5}for{0} {11}ch{0} {5}in{0} {11}s{10}:{0}
+ {5}if{0} {11}ch{0} {5}in{0} {4}'abcde'{10}:{0}
+ {11}d{0} {10}={0} {11}d{0} {10}+{0} {11}ch{0}
+ {5}else{10}:{0}
+ {11}d{0} {10}={0} {11}d{0} {10}+{0} {3}" "{0}
+ {5}return{0} {11}d{0}
|