aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexilla/test/examples/python/x.py
diff options
context:
space:
mode:
Diffstat (limited to 'lexilla/test/examples/python/x.py')
-rw-r--r--lexilla/test/examples/python/x.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/lexilla/test/examples/python/x.py b/lexilla/test/examples/python/x.py
deleted file mode 100644
index 57833c059..000000000
--- a/lexilla/test/examples/python/x.py
+++ /dev/null
@@ -1,19 +0,0 @@
-# Convert all punctuation characters except '_', '*', and '.' into spaces.
-def depunctuate(s):
- '''A docstring'''
- """Docstring 2"""
- d = ""
- for ch in s:
- if ch in 'abcde':
- d = d + ch
- else:
- d = d + " "
- return d
-
-import contextlib
-
-@contextlib.contextmanager
-def singleuse():
- print("Before")
- yield
-with singleuse(): pass