Files
parso/test/normalizer_issue_files/python3.py
2017-06-28 18:24:58 +02:00

19 lines
265 B
Python

#!/usr/bin/env python3
from typing import ClassVar, List
# Annotated function (Issue #29)
def foo(x: int) -> int:
return x + 1
# Annotated variables #575
CONST: int = 42
class Class:
cls_var: ClassVar[str]
def m(self):
xs: List[int] = []