[ Avaa Bypassed ]




Upload:

Command:

www-data@18.216.78.190: ~ $
"""
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

Filemanager

Name Type Size Permission Actions
__pycache__ Folder 0755
libregrtest Folder 0755
support Folder 0755
__init__.py File 47 B 0644
__main__.py File 41 B 0644
ann_module.py File 1.08 KB 0644
ann_module2.py File 519 B 0644
ann_module3.py File 448 B 0644
regrtest.py File 1.33 KB 0755
test_support.py File 24.12 KB 0644