You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
275 B
15 lines
275 B
4 years ago
|
class A(object):
|
||
|
x:int = 1
|
||
|
|
||
|
def foo(x:int, bool:str) -> object: # Second param uses an invalid name
|
||
|
y:int = 4 # OK
|
||
|
A:int = 5 # Invalid name
|
||
|
object:str = "" # Invalid name
|
||
|
|
||
|
def str() -> bool: # Invalid name
|
||
|
return False
|
||
|
|
||
|
pass
|
||
|
|
||
|
pass
|