class documentation

class _hash_limit_string(str): (source)

View In Hierarchy

A string subclass that can only be hashed on a maximum amount of unique values. This is used for warnings so that we can send out parameterized warnings without the __warningregistry__ of the module, or the non-overridable "once" registry within warnings.py, overloading memory,

Method __eq__ Undocumented
Method __hash__ Undocumented
Method __new__ Undocumented
Instance Variable _hash Undocumented
def __eq__(self, other: Any) -> bool: (source)

Undocumented

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

Undocumented

def __new__(cls, value: str, num: int, args: Sequence[Any]) -> _hash_limit_string: (source)

Undocumented

Undocumented