PVD/modules/functional/.mypy_cache/3.9/struct.data.json
2023-04-11 11:25:53 +02:00

1 line
15 KiB
JSON

{".class":"MypyFile","_fullname":"struct","future_import_flags":[],"is_partial_stub_package":false,"is_stub":true,"names":{".class":"SymbolTable","Any":{".class":"SymbolTableNode","cross_ref":"typing.Any","kind":"Gdef","module_hidden":true,"module_public":false},"Iterator":{".class":"SymbolTableNode","cross_ref":"typing.Iterator","kind":"Gdef","module_hidden":true,"module_public":false},"ReadableBuffer":{".class":"SymbolTableNode","cross_ref":"_typeshed.ReadableBuffer","kind":"Gdef","module_hidden":true,"module_public":false},"Struct":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.object"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"struct.Struct","name":"Struct","type_vars":[]},"deletable_attributes":[],"flags":[],"fullname":"struct.Struct","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"struct","mro":["struct.Struct","builtins.object"],"names":{".class":"SymbolTable","__init__":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self","format"],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.Struct.__init__","name":"__init__","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self","format"],"arg_types":["struct.Struct",{".class":"UnionType","items":["builtins.str","builtins.bytes"]}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"__init__ of Struct","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"format":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":["is_property","is_decorated"],"fullname":"struct.Struct.format","name":"format","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["struct.Struct"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"format of Struct","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"struct.Struct.format","name":"format","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["struct.Struct"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"format of Struct","ret_type":"builtins.str","type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"iter_unpack":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self",null],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.Struct.iter_unpack","name":"iter_unpack","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self",null],"arg_types":["struct.Struct",{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.ReadableBuffer"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"iter_unpack of Struct","ret_type":{".class":"Instance","args":[{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.tuple"}],"type_ref":"typing.Iterator"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"pack":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,2],"arg_names":["self","v"],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.Struct.pack","name":"pack","type":{".class":"CallableType","arg_kinds":[0,2],"arg_names":["self","v"],"arg_types":["struct.Struct",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"pack of Struct","ret_type":"builtins.bytes","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"pack_into":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0,2],"arg_names":["self","buffer","offset","v"],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.Struct.pack_into","name":"pack_into","type":{".class":"CallableType","arg_kinds":[0,0,0,2],"arg_names":["self","buffer","offset","v"],"arg_types":["struct.Struct",{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.WriteableBuffer"},"builtins.int",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"pack_into of Struct","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"size":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"Decorator","func":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":["self"],"dataclass_transform_spec":null,"flags":["is_property","is_decorated"],"fullname":"struct.Struct.size","name":"size","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["struct.Struct"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"size of Struct","ret_type":"builtins.int","type_guard":null,"unpack_kwargs":false,"variables":[]}},"is_overload":false,"var":{".class":"Var","flags":["is_initialized_in_class","is_property","is_ready","is_inferred"],"fullname":"struct.Struct.size","name":"size","type":{".class":"CallableType","arg_kinds":[0],"arg_names":["self"],"arg_types":["struct.Struct"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"size of Struct","ret_type":"builtins.int","type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"unpack":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":["self",null],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.Struct.unpack","name":"unpack","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":["self",null],"arg_types":["struct.Struct",{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.ReadableBuffer"}],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"unpack of Struct","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.tuple"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"unpack_from":{".class":"SymbolTableNode","kind":"Mdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,1],"arg_names":["self","buffer","offset"],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.Struct.unpack_from","name":"unpack_from","type":{".class":"CallableType","arg_kinds":[0,0,1],"arg_names":["self","buffer","offset"],"arg_types":["struct.Struct",{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.ReadableBuffer"},"builtins.int"],"bound_args":[],"def_extras":{"first_arg":"self"},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"unpack_from of Struct","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.tuple"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"WriteableBuffer":{".class":"SymbolTableNode","cross_ref":"_typeshed.WriteableBuffer","kind":"Gdef","module_hidden":true,"module_public":false},"__all__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_inferred","has_explicit_value"],"fullname":"struct.__all__","name":"__all__","type":{".class":"Instance","args":["builtins.str"],"type_ref":"builtins.list"}}},"__annotations__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"struct.__annotations__","name":"__annotations__","type":{".class":"Instance","args":["builtins.str",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":6}],"type_ref":"builtins.dict"}}},"__doc__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"struct.__doc__","name":"__doc__","type":"builtins.str"}},"__file__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"struct.__file__","name":"__file__","type":"builtins.str"}},"__name__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"struct.__name__","name":"__name__","type":"builtins.str"}},"__package__":{".class":"SymbolTableNode","kind":"Gdef","module_public":false,"node":{".class":"Var","flags":["is_ready"],"fullname":"struct.__package__","name":"__package__","type":"builtins.str"}},"calcsize":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0],"arg_names":[null],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.calcsize","name":"calcsize","type":{".class":"CallableType","arg_kinds":[0],"arg_names":[null],"arg_types":[{".class":"UnionType","items":["builtins.str","builtins.bytes"]}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"calcsize","ret_type":"builtins.int","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"error":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"TypeInfo","_promote":[],"abstract_attributes":[],"alt_promote":null,"bases":["builtins.Exception"],"dataclass_transform_spec":null,"declared_metaclass":null,"defn":{".class":"ClassDef","fullname":"struct.error","name":"error","type_vars":[]},"deletable_attributes":[],"flags":[],"fullname":"struct.error","has_param_spec_type":false,"metaclass_type":null,"metadata":{},"module_name":"struct","mro":["struct.error","builtins.Exception","builtins.BaseException","builtins.object"],"names":{".class":"SymbolTable"},"self_type":null,"slots":null,"tuple_type":null,"type_vars":[],"typeddict_type":null}},"iter_unpack":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.iter_unpack","name":"iter_unpack","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":[{".class":"UnionType","items":["builtins.str","builtins.bytes"]},{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.ReadableBuffer"}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"iter_unpack","ret_type":{".class":"Instance","args":[{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.tuple"}],"type_ref":"typing.Iterator"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"pack":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,2],"arg_names":[null,"v"],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.pack","name":"pack","type":{".class":"CallableType","arg_kinds":[0,2],"arg_names":[null,"v"],"arg_types":[{".class":"UnionType","items":["builtins.str","builtins.bytes"]},{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"pack","ret_type":"builtins.bytes","type_guard":null,"unpack_kwargs":false,"variables":[]}}},"pack_into":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,0,2],"arg_names":[null,null,null,"v"],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.pack_into","name":"pack_into","type":{".class":"CallableType","arg_kinds":[0,0,0,2],"arg_names":[null,null,null,"v"],"arg_types":[{".class":"UnionType","items":["builtins.str","builtins.bytes"]},{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.WriteableBuffer"},"builtins.int",{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"pack_into","ret_type":{".class":"NoneType"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"unpack":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0],"arg_names":[null,null],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.unpack","name":"unpack","type":{".class":"CallableType","arg_kinds":[0,0],"arg_names":[null,null],"arg_types":[{".class":"UnionType","items":["builtins.str","builtins.bytes"]},{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.ReadableBuffer"}],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"unpack","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.tuple"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}},"unpack_from":{".class":"SymbolTableNode","kind":"Gdef","node":{".class":"FuncDef","abstract_status":0,"arg_kinds":[0,0,1],"arg_names":[null,"buffer","offset"],"dataclass_transform_spec":null,"flags":[],"fullname":"struct.unpack_from","name":"unpack_from","type":{".class":"CallableType","arg_kinds":[0,0,1],"arg_names":[null,"buffer","offset"],"arg_types":[{".class":"UnionType","items":["builtins.str","builtins.bytes"]},{".class":"TypeAliasType","args":[],"type_ref":"_typeshed.ReadableBuffer"},"builtins.int"],"bound_args":[],"def_extras":{"first_arg":null},"fallback":"builtins.function","from_concatenate":false,"implicit":false,"is_ellipsis_args":false,"name":"unpack_from","ret_type":{".class":"Instance","args":[{".class":"AnyType","missing_import_name":null,"source_any":null,"type_of_any":2}],"type_ref":"builtins.tuple"},"type_guard":null,"unpack_kwargs":false,"variables":[]}}}},"path":"/local_scratch/lfainsin/.conda/envs/PVD/lib/python3.9/site-packages/mypy/typeshed/stdlib/struct.pyi"}