aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/examples/x.py.styled
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2009-05-12 23:39:51 +0000
committernyamatongwe <devnull@localhost>2009-05-12 23:39:51 +0000
commit2642c1da70d5f1e26fda2cfee0deb2fa88b43b71 (patch)
treea554b9ac64e53a35379ae6e6a7d3160ac293a4de /test/examples/x.py.styled
parentb529c73475f04af4f687a0d9b1328581734728ae (diff)
downloadscintilla-mirror-2642c1da70d5f1e26fda2cfee0deb2fa88b43b71.tar.gz
Include tests in standard repository.
Diffstat (limited to 'test/examples/x.py.styled')
-rw-r--r--test/examples/x.py.styled11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/examples/x.py.styled b/test/examples/x.py.styled
new file mode 100644
index 000000000..02f94a923
--- /dev/null
+++ b/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}