class documentation

Undocumented

Method __call__ Support calling unbound methods from the class. For example, this happens with copy.copy, which does type(x).__copy__(x). type(x) can't be proxied, so it returns the proxy type and descriptor.
Method __get__ Undocumented
Method __init__ Undocumented
Method __repr__ Undocumented
Method __set_name__ Undocumented
Instance Variable bind_func Undocumented
Instance Variable class_value Undocumented
Instance Variable fallback_func Undocumented
Instance Variable is_attr Undocumented
Instance Variable name Undocumented
def __call__(self, instance: _RestrictedProxy, *args: Any, **kwargs: Any) -> Any: (source)

Support calling unbound methods from the class. For example, this happens with copy.copy, which does type(x).__copy__(x). type(x) can't be proxied, so it returns the proxy type and descriptor.

def __get__(self, instance: _RestrictedProxy, owner: Optional[Type] = None) -> Any: (source)

Undocumented

def __init__(self, access_func: Optional[Callable] = None, *, fallback_func: Optional[Callable] = None, class_value: Optional[Any] = None, is_attr: bool = False): (source)
def __repr__(self) -> str: (source)

Undocumented

def __set_name__(self, owner: _RestrictedProxy, name: str): (source)

Undocumented

bind_func = (source)

Undocumented

class_value = (source)

Undocumented

fallback_func = (source)

Undocumented

Undocumented

Undocumented