class documentation

class ExtraAttrs: (source)

View In Hierarchy

Summary of module attributes and types. This is used for instances of types.ModuleType, because they can have different attributes per instance, and for type narrowing with hasattr() checks.

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method copy Undocumented
Instance Variable attrs Undocumented
Instance Variable immutable Undocumented
Instance Variable mod_name Undocumented
def __eq__(self, other: object) -> bool: (source)

Undocumented

def __hash__(self) -> int: (source)

Undocumented

def __init__(self, attrs: dict[str, Type], immutable: set[str]|None = None, mod_name: str|None = None): (source)

Undocumented

def __repr__(self) -> str: (source)

Undocumented

def copy(self) -> ExtraAttrs: (source)

Undocumented

Undocumented

immutable = (source)

Undocumented

mod_name = (source)

Undocumented