golden hour
/opt/alt/python37/include/python3.7m
⬆️ Go Up
Upload
File/Folder
Size
Actions
Python-ast.h
21.29 KB
Del
OK
Python.h
3.47 KB
Del
OK
abstract.h
39.84 KB
Del
OK
accu.h
1016 B
Del
OK
asdl.h
1.18 KB
Del
OK
ast.h
641 B
Del
OK
bitset.h
810 B
Del
OK
bltinmodule.h
264 B
Del
OK
boolobject.h
886 B
Del
OK
bytearrayobject.h
2.06 KB
Del
OK
bytes_methods.h
3.22 KB
Del
OK
bytesobject.h
8.29 KB
Del
OK
cellobject.h
713 B
Del
OK
ceval.h
8.51 KB
Del
OK
classobject.h
1.64 KB
Del
OK
code.h
5.92 KB
Del
OK
codecs.h
6.63 KB
Del
OK
compile.h
2.88 KB
Del
OK
complexobject.h
1.76 KB
Del
OK
context.h
1.97 KB
Del
OK
datetime.h
9.62 KB
Del
OK
descrobject.h
3.06 KB
Del
OK
dictobject.h
7.15 KB
Del
OK
dtoa.h
458 B
Del
OK
dynamic_annotations.h
21.94 KB
Del
OK
enumobject.h
253 B
Del
OK
errcode.h
1.66 KB
Del
OK
eval.h
1.18 KB
Del
OK
fileobject.h
1.77 KB
Del
OK
fileutils.h
4.43 KB
Del
OK
floatobject.h
4.68 KB
Del
OK
frameobject.h
3.24 KB
Del
OK
funcobject.h
4.08 KB
Del
OK
genobject.h
3.56 KB
Del
OK
graminit.h
1.95 KB
Del
OK
grammar.h
2.26 KB
Del
OK
import.h
4.86 KB
Del
OK
internal
-
Del
OK
intrcheck.h
861 B
Del
OK
iterobject.h
567 B
Del
OK
listobject.h
2.86 KB
Del
OK
longintrepr.h
3.71 KB
Del
OK
longobject.h
8.39 KB
Del
OK
marshal.h
803 B
Del
OK
memoryobject.h
2.7 KB
Del
OK
metagrammar.h
253 B
Del
OK
methodobject.h
4.41 KB
Del
OK
modsupport.h
8.36 KB
Del
OK
moduleobject.h
2.25 KB
Del
OK
namespaceobject.h
349 B
Del
OK
node.h
1.09 KB
Del
OK
object.h
40.86 KB
Del
OK
objimpl.h
14.13 KB
Del
OK
odictobject.h
1.25 KB
Del
OK
opcode.h
4.99 KB
Del
OK
osdefs.h
691 B
Del
OK
osmodule.h
291 B
Del
OK
parsetok.h
2.84 KB
Del
OK
patchlevel.h
1.27 KB
Del
OK
pgen.h
253 B
Del
OK
pgenheaders.h
1.19 KB
Del
OK
py_curses.h
3.97 KB
Del
OK
pyarena.h
2.68 KB
Del
OK
pyatomic.h
15.74 KB
Del
OK
pycapsule.h
1.69 KB
Del
OK
pyconfig-64.h
44.27 KB
Del
OK
pyconfig.h
162 B
Del
OK
pyctype.h
1.29 KB
Del
OK
pydebug.h
1.19 KB
Del
OK
pydtrace.h
2.23 KB
Del
OK
pyerrors.h
16.96 KB
Del
OK
pyexpat.h
2.39 KB
Del
OK
pyfpe.h
341 B
Del
OK
pyhash.h
4.04 KB
Del
OK
pylifecycle.h
7.6 KB
Del
OK
pymacconfig.h
2.92 KB
Del
OK
pymacro.h
3.45 KB
Del
OK
pymath.h
8.12 KB
Del
OK
pymem.h
8.78 KB
Del
OK
pyport.h
27.57 KB
Del
OK
pystate.h
15.94 KB
Del
OK
pystrcmp.h
436 B
Del
OK
pystrhex.h
495 B
Del
OK
pystrtod.h
1.45 KB
Del
OK
pythonrun.h
6.06 KB
Del
OK
pythread.h
5.21 KB
Del
OK
pytime.h
8.72 KB
Del
OK
rangeobject.h
629 B
Del
OK
setobject.h
3.28 KB
Del
OK
sliceobject.h
2.42 KB
Del
OK
structmember.h
1.98 KB
Del
OK
structseq.h
1.34 KB
Del
OK
symtable.h
4.81 KB
Del
OK
sysmodule.h
1.48 KB
Del
OK
token.h
2.42 KB
Del
OK
traceback.h
3.56 KB
Del
OK
tupleobject.h
2.41 KB
Del
OK
typeslots.h
2.2 KB
Del
OK
ucnhash.h
1.03 KB
Del
OK
unicodeobject.h
80.35 KB
Del
OK
warnings.h
1.73 KB
Del
OK
weakrefobject.h
2.8 KB
Del
OK
Edit: dictobject.h
#ifndef Py_DICTOBJECT_H #define Py_DICTOBJECT_H #ifdef __cplusplus extern "C" { #endif /* Dictionary object type -- mapping from hashable object to object */ /* The distribution includes a separate file, Objects/dictnotes.txt, describing explorations into dictionary design and optimization. It covers typical dictionary use patterns, the parameters for tuning dictionaries, and several ideas for possible optimizations. */ #ifndef Py_LIMITED_API typedef struct _dictkeysobject PyDictKeysObject; /* The ma_values pointer is NULL for a combined table * or points to an array of PyObject* for a split table */ typedef struct { PyObject_HEAD /* Number of items in the dictionary */ Py_ssize_t ma_used; /* Dictionary version: globally unique, value change each time the dictionary is modified */ uint64_t ma_version_tag; PyDictKeysObject *ma_keys; /* If ma_values is NULL, the table is "combined": keys and values are stored in ma_keys. If ma_values is not NULL, the table is splitted: keys are stored in ma_keys and values are stored in ma_values */ PyObject **ma_values; } PyDictObject; typedef struct { PyObject_HEAD PyDictObject *dv_dict; } _PyDictViewObject; #endif /* Py_LIMITED_API */ PyAPI_DATA(PyTypeObject) PyDict_Type; PyAPI_DATA(PyTypeObject) PyDictIterKey_Type; PyAPI_DATA(PyTypeObject) PyDictIterValue_Type; PyAPI_DATA(PyTypeObject) PyDictIterItem_Type; PyAPI_DATA(PyTypeObject) PyDictKeys_Type; PyAPI_DATA(PyTypeObject) PyDictItems_Type; PyAPI_DATA(PyTypeObject) PyDictValues_Type; #define PyDict_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_DICT_SUBCLASS) #define PyDict_CheckExact(op) (Py_TYPE(op) == &PyDict_Type) #define PyDictKeys_Check(op) PyObject_TypeCheck(op, &PyDictKeys_Type) #define PyDictItems_Check(op) PyObject_TypeCheck(op, &PyDictItems_Type) #define PyDictValues_Check(op) PyObject_TypeCheck(op, &PyDictValues_Type) /* This excludes Values, since they are not sets. */ # define PyDictViewSet_Check(op) \ (PyDictKeys_Check(op) || PyDictItems_Check(op)) PyAPI_FUNC(PyObject *) PyDict_New(void); PyAPI_FUNC(PyObject *) PyDict_GetItem(PyObject *mp, PyObject *key); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyDict_GetItem_KnownHash(PyObject *mp, PyObject *key, Py_hash_t hash); #endif PyAPI_FUNC(PyObject *) PyDict_GetItemWithError(PyObject *mp, PyObject *key); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyDict_GetItemIdWithError(PyObject *dp, struct _Py_Identifier *key); PyAPI_FUNC(PyObject *) PyDict_SetDefault( PyObject *mp, PyObject *key, PyObject *defaultobj); #endif PyAPI_FUNC(int) PyDict_SetItem(PyObject *mp, PyObject *key, PyObject *item); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyDict_SetItem_KnownHash(PyObject *mp, PyObject *key, PyObject *item, Py_hash_t hash); #endif PyAPI_FUNC(int) PyDict_DelItem(PyObject *mp, PyObject *key); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyDict_DelItem_KnownHash(PyObject *mp, PyObject *key, Py_hash_t hash); PyAPI_FUNC(int) _PyDict_DelItemIf(PyObject *mp, PyObject *key, int (*predicate)(PyObject *value)); #endif PyAPI_FUNC(void) PyDict_Clear(PyObject *mp); PyAPI_FUNC(int) PyDict_Next( PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value); #ifndef Py_LIMITED_API PyDictKeysObject *_PyDict_NewKeysForClass(void); PyAPI_FUNC(PyObject *) PyObject_GenericGetDict(PyObject *, void *); PyAPI_FUNC(int) _PyDict_Next( PyObject *mp, Py_ssize_t *pos, PyObject **key, PyObject **value, Py_hash_t *hash); PyObject *_PyDictView_New(PyObject *, PyTypeObject *); #endif PyAPI_FUNC(PyObject *) PyDict_Keys(PyObject *mp); PyAPI_FUNC(PyObject *) PyDict_Values(PyObject *mp); PyAPI_FUNC(PyObject *) PyDict_Items(PyObject *mp); PyAPI_FUNC(Py_ssize_t) PyDict_Size(PyObject *mp); PyAPI_FUNC(PyObject *) PyDict_Copy(PyObject *mp); PyAPI_FUNC(int) PyDict_Contains(PyObject *mp, PyObject *key); #ifndef Py_LIMITED_API /* Get the number of items of a dictionary. */ #define PyDict_GET_SIZE(mp) (assert(PyDict_Check(mp)),((PyDictObject *)mp)->ma_used) PyAPI_FUNC(int) _PyDict_Contains(PyObject *mp, PyObject *key, Py_hash_t hash); PyAPI_FUNC(PyObject *) _PyDict_NewPresized(Py_ssize_t minused); PyAPI_FUNC(void) _PyDict_MaybeUntrack(PyObject *mp); PyAPI_FUNC(int) _PyDict_HasOnlyStringKeys(PyObject *mp); Py_ssize_t _PyDict_KeysSize(PyDictKeysObject *keys); PyAPI_FUNC(Py_ssize_t) _PyDict_SizeOf(PyDictObject *); PyAPI_FUNC(PyObject *) _PyDict_Pop(PyObject *, PyObject *, PyObject *); PyObject *_PyDict_Pop_KnownHash(PyObject *, PyObject *, Py_hash_t, PyObject *); PyObject *_PyDict_FromKeys(PyObject *, PyObject *, PyObject *); #define _PyDict_HasSplitTable(d) ((d)->ma_values != NULL) PyAPI_FUNC(int) PyDict_ClearFreeList(void); #endif /* PyDict_Update(mp, other) is equivalent to PyDict_Merge(mp, other, 1). */ PyAPI_FUNC(int) PyDict_Update(PyObject *mp, PyObject *other); /* PyDict_Merge updates/merges from a mapping object (an object that supports PyMapping_Keys() and PyObject_GetItem()). If override is true, the last occurrence of a key wins, else the first. The Python dict.update(other) is equivalent to PyDict_Merge(dict, other, 1). */ PyAPI_FUNC(int) PyDict_Merge(PyObject *mp, PyObject *other, int override); #ifndef Py_LIMITED_API /* Like PyDict_Merge, but override can be 0, 1 or 2. If override is 0, the first occurrence of a key wins, if override is 1, the last occurrence of a key wins, if override is 2, a KeyError with conflicting key as argument is raised. */ PyAPI_FUNC(int) _PyDict_MergeEx(PyObject *mp, PyObject *other, int override); PyAPI_FUNC(PyObject *) _PyDictView_Intersect(PyObject* self, PyObject *other); #endif /* PyDict_MergeFromSeq2 updates/merges from an iterable object producing iterable objects of length 2. If override is true, the last occurrence of a key wins, else the first. The Python dict constructor dict(seq2) is equivalent to dict={}; PyDict_MergeFromSeq(dict, seq2, 1). */ PyAPI_FUNC(int) PyDict_MergeFromSeq2(PyObject *d, PyObject *seq2, int override); PyAPI_FUNC(PyObject *) PyDict_GetItemString(PyObject *dp, const char *key); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyDict_GetItemId(PyObject *dp, struct _Py_Identifier *key); #endif /* !Py_LIMITED_API */ PyAPI_FUNC(int) PyDict_SetItemString(PyObject *dp, const char *key, PyObject *item); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyDict_SetItemId(PyObject *dp, struct _Py_Identifier *key, PyObject *item); #endif /* !Py_LIMITED_API */ PyAPI_FUNC(int) PyDict_DelItemString(PyObject *dp, const char *key); #ifndef Py_LIMITED_API PyAPI_FUNC(int) _PyDict_DelItemId(PyObject *mp, struct _Py_Identifier *key); PyAPI_FUNC(void) _PyDict_DebugMallocStats(FILE *out); int _PyObjectDict_SetItem(PyTypeObject *tp, PyObject **dictptr, PyObject *name, PyObject *value); PyObject *_PyDict_LoadGlobal(PyDictObject *, PyDictObject *, PyObject *); #endif #ifdef __cplusplus } #endif #endif /* !Py_DICTOBJECT_H */
Save