__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
"""
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
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| __pycache__ | Folder | 0755 |
|
|
| __init__.py | File | 0 B | 0644 |
|
| _typed_dict_helper.py | File | 859 B | 0644 |
|
| ann_module.py | File | 1.09 KB | 0644 |
|
| ann_module2.py | File | 519 B | 0644 |
|
| ann_module3.py | File | 448 B | 0644 |
|
| ann_module4.py | File | 81 B | 0644 |
|
| ann_module5.py | File | 202 B | 0644 |
|
| ann_module6.py | File | 138 B | 0644 |
|
| ann_module7.py | File | 295 B | 0644 |
|
| ann_module8.py | File | 177 B | 0644 |
|
| ann_module9.py | File | 280 B | 0644 |
|
| mod_generics_cache.py | File | 508 B | 0644 |
|