solorice/vscodium/extensions/magicstack.magicpython-1.1.1/test/docstrings/continuation3.py
2022-04-28 21:17:01 +03:00

45 lines
2.8 KiB
Python

# not a docstring
a = \
r'>>> print(42)a[wer]'
b = \
# docstring
r'>>> print()a[wer]'
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
not a docstring : comment.line.number-sign.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
r : source.python, storage.type.string.python, string.regexp.quoted.single.python
' : punctuation.definition.string.begin.python, source.python, string.regexp.quoted.single.python
>>> print : source.python, string.regexp.quoted.single.python
( : punctuation.parenthesis.begin.regexp, source.python, string.regexp.quoted.single.python, support.other.parenthesis.regexp
42 : source.python, string.regexp.quoted.single.python
) : punctuation.parenthesis.end.regexp, source.python, string.regexp.quoted.single.python, support.other.parenthesis.regexp
a : source.python, string.regexp.quoted.single.python
[ : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.begin.regexp, source.python, string.regexp.quoted.single.python
w : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.single.python
e : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.single.python
r : constant.character.set.regexp, meta.character.set.regexp, source.python, string.regexp.quoted.single.python
] : constant.other.set.regexp, meta.character.set.regexp, punctuation.character.set.end.regexp, source.python, string.regexp.quoted.single.python
' : punctuation.definition.string.end.python, source.python, string.regexp.quoted.single.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
# : comment.line.number-sign.python, punctuation.definition.comment.python, source.python
docstring : comment.line.number-sign.python, source.python
r : source.python, storage.type.string.python, string.quoted.docstring.raw.single.python
' : punctuation.definition.string.begin.python, source.python, string.quoted.docstring.raw.single.python
>>> print()a[wer] : source.python, string.quoted.docstring.raw.single.python
' : punctuation.definition.string.end.python, source.python, string.quoted.docstring.raw.single.python