Linux cpanel.rrshost.in 5.15.0-25-generic #25-Ubuntu SMP Wed Mar 30 15:54:22 UTC 2022 x86_64
Apache
: 109.123.238.221 | : 172.71.254.84
138 Domain
8.2.28
aev999
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
HASH IDENTIFIER
README
+ Create Folder
+ Create File
/
usr /
lib /
python3.10 /
test /
[ HOME SHELL ]
Name
Size
Permission
Action
__pycache__
[ DIR ]
drwxr-xr-x
libregrtest
[ DIR ]
drwxr-xr-x
support
[ DIR ]
drwxr-xr-x
__init__.py
47
B
-rw-r--r--
__main__.py
41
B
-rw-r--r--
ann_module.py
1.09
KB
-rw-r--r--
ann_module2.py
519
B
-rw-r--r--
ann_module3.py
448
B
-rw-r--r--
regrtest.py
1.26
KB
-rwxr-xr-x
test_support.py
25.33
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : ann_module3.py
""" Correct syntax for variable annotation that should fail at runtime in a certain manner. More examples are in test_grammar and test_parser. """ def f_bad_ann(): __annotations__[1] = 2 class C_OK: def __init__(self, x: int) -> None: self.x: no_such_name = x # This one is OK as proposed by Guido class D_bad_ann: def __init__(self, x: int) -> None: sfel.y: int = 0 def g_bad_ann(): no_such_name.attr: int = 0
Close