__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
"""Module for testing the behavior of generics across different modules."""
from typing import TypeVar, Generic, Optional, TypeAliasType
default_a: Optional['A'] = None
default_b: Optional['B'] = None
T = TypeVar('T')
class A(Generic[T]):
some_b: 'B'
class B(Generic[T]):
class A(Generic[T]):
pass
my_inner_a1: 'B.A'
my_inner_a2: A
my_outer_a: 'A' # unless somebody calls get_type_hints with localns=B.__dict__
type Alias = int
OldStyle = TypeAliasType("OldStyle", int)
| 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 |
|