forked from MagicStack/MagicPython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathoneline3.py
More file actions
27 lines (24 loc) · 1.85 KB
/
oneline3.py
File metadata and controls
27 lines (24 loc) · 1.85 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
def foo():
'>>> print("docstring")'
def foo():
">>> print('docstring')"
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
foo : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.python
) : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.end.python, source.python
: : meta.function.python, punctuation.section.function.begin.python, source.python
: source.python
' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.single.python
>>> print("docstring") : source.python, string.quoted.docstring.single.python
' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.single.python
def : meta.function.python, source.python, storage.type.function.python
: meta.function.python, source.python
foo : entity.name.function.python, meta.function.python, source.python
( : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.begin.python, source.python
) : meta.function.parameters.python, meta.function.python, punctuation.definition.parameters.end.python, source.python
: : meta.function.python, punctuation.section.function.begin.python, source.python
: source.python
" : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.single.python
>>> print('docstring') : source.python, string.quoted.docstring.single.python
" : punctuation.definition.string.end.python, source.python, string.quoted.docstring.single.python