bundles / IPython 9.5.0 / IPython / core / guarded_eval / SelectivePolicy / __init__
function
IPython.core.guarded_eval:SelectivePolicy.__init__
Signature
def __init__ ( self , allow_locals_access : bool = False , allow_globals_access : bool = False , allow_item_access : bool = False , allow_attr_access : bool = False , allow_builtins_access : bool = False , allow_all_operations : bool = False , allow_any_calls : bool = False , allow_auto_import : bool = False , allowed_calls : set[Callable] = <factory> , allowed_getitem : set[InstancesHaveGetItem] = <factory> , allowed_getitem_external : set[tuple[str, ...] | str] = <factory> , allowed_getattr : set[MayHaveGetattr] = <factory> , allowed_getattr_external : set[tuple[str, ...] | str] = <factory> , allowed_operations : set = <factory> , allowed_operations_external : set[tuple[str, ...] | str] = <factory> ) → None Summary
No Docstrings
Aliases
-
IPython.core.guarded_eval.SelectivePolicy.__init__