chore: bump scintilla and lexilla version
This commit is contained in:
19
3rdparty/lexilla545/lexilla/test/examples/python/x.py
vendored
Normal file
19
3rdparty/lexilla545/lexilla/test/examples/python/x.py
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
# 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
|
Reference in New Issue
Block a user