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

23 lines
1.5 KiB
Python

if isinstance(t1, TypeVar): # type: ignore
continue
if : keyword.control.flow.python, source.python
: source.python
isinstance : meta.function-call.python, source.python, support.function.builtin.python
( : meta.function-call.python, punctuation.definition.arguments.begin.python, source.python
t1 : meta.function-call.arguments.python, meta.function-call.python, source.python
, : meta.function-call.arguments.python, meta.function-call.python, punctuation.separator.arguments.python, source.python
: meta.function-call.arguments.python, meta.function-call.python, source.python
TypeVar : meta.function-call.arguments.python, meta.function-call.python, source.python
) : meta.function-call.python, punctuation.definition.arguments.end.python, source.python
: : punctuation.separator.colon.python, source.python
: source.python
# : comment.line.number-sign.python, meta.typehint.comment.python, source.python
type: : comment.line.number-sign.python, comment.typehint.directive.notation.python, meta.typehint.comment.python, source.python
: comment.line.number-sign.python, meta.typehint.comment.python, source.python
ignore : comment.line.number-sign.python, comment.typehint.ignore.notation.python, meta.typehint.comment.python, source.python
: source.python
continue : keyword.control.flow.python, source.python