diff options
Diffstat (limited to 'scintilla/test/examples/x.py.styled')
-rw-r--r-- | scintilla/test/examples/x.py.styled | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/scintilla/test/examples/x.py.styled b/scintilla/test/examples/x.py.styled new file mode 100644 index 0000000..983c3b8 --- /dev/null +++ b/scintilla/test/examples/x.py.styled @@ -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}
|