mirror of
https://github.com/kristoferssolo/solorice.git
synced 2025-10-21 20:10:34 +00:00
62 lines
3.4 KiB
Python
62 lines
3.4 KiB
Python
# not a docstring
|
|
a = \
|
|
r'''
|
|
>>> print(42)
|
|
a[wer]
|
|
'''
|
|
|
|
b = \
|
|
# docstring
|
|
r'''
|
|
>>> print()
|
|
a[wer]
|
|
'''
|
|
|
|
|
|
|
|
: source.python
|
|
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
|
|
not a docstring : comment.line.number-sign.python, source.python
|
|
: source.python
|
|
a : source.python
|
|
: source.python
|
|
= : keyword.operator.assignment.python, source.python
|
|
: source.python
|
|
\ : punctuation.separator.continuation.line.python, source.python
|
|
: source.python
|
|
: source.python
|
|
r : source.python, storage.type.string.python, string.regexp.quoted.multi.python
|
|
''' : punctuation.definition.string.begin.python, source.python, string.regexp.quoted.multi.python
|
|
>>> print : source.python, string.regexp.quoted.multi.python
|
|
( : punctuation.parenthesis.begin.regexp, source.python, string.regexp.quoted.multi.python, support.other.parenthesis.regexp
|
|
42 : source.python, string.regexp.quoted.multi.python
|
|
) : punctuation.parenthesis.end.regexp, source.python, string.regexp.quoted.multi.python, support.other.parenthesis.regexp
|
|
a : source.python, string.regexp.quoted.multi.python
|
|
[ : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.begin.regexp, source.python, string.regexp.quoted.multi.python
|
|
w : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
|
|
e : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
|
|
r : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.multi.python
|
|
] : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.end.regexp, source.python, string.regexp.quoted.multi.python
|
|
: source.python, string.regexp.quoted.multi.python
|
|
''' : punctuation.definition.string.end.python, source.python, string.regexp.quoted.multi.python
|
|
: source.python
|
|
: source.python
|
|
b : source.python
|
|
: source.python
|
|
= : keyword.operator.assignment.python, source.python
|
|
: source.python
|
|
\ : punctuation.separator.continuation.line.python, source.python
|
|
: source.python
|
|
: source.python
|
|
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
|
|
docstring : comment.line.number-sign.python, source.python
|
|
: source.python
|
|
r : source.python, storage.type.string.python, string.quoted.docstring.raw.multi.python
|
|
''' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.raw.multi.python
|
|
: source.python, string.quoted.docstring.raw.multi.python
|
|
>>> : keyword.control.flow.python, source.python, string.quoted.docstring.raw.multi.python
|
|
print() : source.python, string.quoted.docstring.raw.multi.python
|
|
a[wer] : source.python, string.quoted.docstring.raw.multi.python
|
|
: source.python, string.quoted.docstring.raw.multi.python
|
|
''' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.raw.multi.python
|