X7ROOT File Manager
Current Path:
/usr/include/python3.8
usr
/
include
/
python3.8
/
??
..
??
Python-ast.h
(25.87 KB)
??
Python.h
(3.53 KB)
??
_hashopenssl.h
(1.33 KB)
??
abstract.h
(29.58 KB)
??
asdl.h
(1.2 KB)
??
ast.h
(948 B)
??
bitset.h
(468 B)
??
bltinmodule.h
(264 B)
??
boolobject.h
(886 B)
??
bytearrayobject.h
(2.06 KB)
??
bytes_methods.h
(3.22 KB)
??
bytesobject.h
(8.29 KB)
??
cellobject.h
(713 B)
??
ceval.h
(8.17 KB)
??
classobject.h
(1.67 KB)
??
code.h
(7.01 KB)
??
codecs.h
(6.63 KB)
??
compile.h
(3.5 KB)
??
complexobject.h
(1.76 KB)
??
context.h
(1.97 KB)
??
cpython
??
datetime.h
(9.04 KB)
??
descrobject.h
(2.95 KB)
??
dictobject.h
(3.63 KB)
??
dtoa.h
(458 B)
??
dynamic_annotations.h
(21.94 KB)
??
enumobject.h
(253 B)
??
errcode.h
(1.66 KB)
??
eval.h
(1.18 KB)
??
fileobject.h
(1.53 KB)
??
fileutils.h
(4.25 KB)
??
floatobject.h
(4.68 KB)
??
frameobject.h
(3.24 KB)
??
funcobject.h
(4.1 KB)
??
genobject.h
(3.63 KB)
??
graminit.h
(2.07 KB)
??
grammar.h
(1.78 KB)
??
import.h
(4.81 KB)
??
internal
??
interpreteridobject.h
(334 B)
??
intrcheck.h
(861 B)
??
iterobject.h
(567 B)
??
listobject.h
(2.86 KB)
??
longintrepr.h
(3.71 KB)
??
longobject.h
(9.3 KB)
??
marshal.h
(803 B)
??
memoryobject.h
(2.7 KB)
??
methodobject.h
(4.3 KB)
??
modsupport.h
(9.37 KB)
??
moduleobject.h
(2.31 KB)
??
namespaceobject.h
(349 B)
??
node.h
(1.3 KB)
??
object.h
(28.91 KB)
??
objimpl.h
(10.29 KB)
??
odictobject.h
(1.27 KB)
??
opcode.h
(5.04 KB)
??
osdefs.h
(737 B)
??
osmodule.h
(291 B)
??
parsetok.h
(2.89 KB)
??
patchlevel.h
(1.27 KB)
??
picklebufobject.h
(847 B)
??
py_curses.h
(2.42 KB)
??
pyarena.h
(2.68 KB)
??
pycapsule.h
(1.69 KB)
??
pyconfig-64.h
(46.41 KB)
??
pyconfig.h
(162 B)
??
pyctype.h
(1.35 KB)
??
pydebug.h
(1.19 KB)
??
pydtrace.h
(2.36 KB)
??
pyerrors.h
(12.49 KB)
??
pyexpat.h
(2.39 KB)
??
pyfpe.h
(341 B)
??
pyhash.h
(4.04 KB)
??
pylifecycle.h
(2.03 KB)
??
pymacconfig.h
(2.92 KB)
??
pymacro.h
(3.69 KB)
??
pymath.h
(8.12 KB)
??
pymem.h
(5.28 KB)
??
pyport.h
(29.51 KB)
??
pystate.h
(4.58 KB)
??
pystrcmp.h
(436 B)
??
pystrhex.h
(849 B)
??
pystrtod.h
(1.45 KB)
??
pythonrun.h
(7.47 KB)
??
pythread.h
(5.53 KB)
??
pytime.h
(8.72 KB)
??
rangeobject.h
(629 B)
??
setobject.h
(3.28 KB)
??
sliceobject.h
(2.46 KB)
??
structmember.h
(1.98 KB)
??
structseq.h
(1.34 KB)
??
symtable.h
(5.18 KB)
??
sysmodule.h
(1.21 KB)
??
token.h
(2.37 KB)
??
traceback.h
(601 B)
??
tracemalloc.h
(1.09 KB)
??
tupleobject.h
(1.62 KB)
??
typeslots.h
(2.2 KB)
??
ucnhash.h
(1.03 KB)
??
unicodeobject.h
(34.89 KB)
??
warnings.h
(1.73 KB)
??
weakrefobject.h
(2.8 KB)
Editing: listobject.h
/* List object interface */ /* Another generally useful object type is a list of object pointers. This is a mutable type: the list items can be changed, and items can be added or removed. Out-of-range indices or non-list objects are ignored. *** WARNING *** PyList_SetItem does not increment the new item's reference count, but does decrement the reference count of the item it replaces, if not nil. It does *decrement* the reference count if it is *not* inserted in the list. Similarly, PyList_GetItem does not increment the returned item's reference count. */ #ifndef Py_LISTOBJECT_H #define Py_LISTOBJECT_H #ifdef __cplusplus extern "C" { #endif #ifndef Py_LIMITED_API typedef struct { PyObject_VAR_HEAD /* Vector of pointers to list elements. list[0] is ob_item[0], etc. */ PyObject **ob_item; /* ob_item contains space for 'allocated' elements. The number * currently in use is ob_size. * Invariants: * 0 <= ob_size <= allocated * len(list) == ob_size * ob_item == NULL implies ob_size == allocated == 0 * list.sort() temporarily sets allocated to -1 to detect mutations. * * Items must normally not be NULL, except during construction when * the list is not yet visible outside the function that builds it. */ Py_ssize_t allocated; } PyListObject; #endif PyAPI_DATA(PyTypeObject) PyList_Type; PyAPI_DATA(PyTypeObject) PyListIter_Type; PyAPI_DATA(PyTypeObject) PyListRevIter_Type; PyAPI_DATA(PyTypeObject) PySortWrapper_Type; #define PyList_Check(op) \ PyType_FastSubclass(Py_TYPE(op), Py_TPFLAGS_LIST_SUBCLASS) #define PyList_CheckExact(op) (Py_TYPE(op) == &PyList_Type) PyAPI_FUNC(PyObject *) PyList_New(Py_ssize_t size); PyAPI_FUNC(Py_ssize_t) PyList_Size(PyObject *); PyAPI_FUNC(PyObject *) PyList_GetItem(PyObject *, Py_ssize_t); PyAPI_FUNC(int) PyList_SetItem(PyObject *, Py_ssize_t, PyObject *); PyAPI_FUNC(int) PyList_Insert(PyObject *, Py_ssize_t, PyObject *); PyAPI_FUNC(int) PyList_Append(PyObject *, PyObject *); PyAPI_FUNC(PyObject *) PyList_GetSlice(PyObject *, Py_ssize_t, Py_ssize_t); PyAPI_FUNC(int) PyList_SetSlice(PyObject *, Py_ssize_t, Py_ssize_t, PyObject *); PyAPI_FUNC(int) PyList_Sort(PyObject *); PyAPI_FUNC(int) PyList_Reverse(PyObject *); PyAPI_FUNC(PyObject *) PyList_AsTuple(PyObject *); #ifndef Py_LIMITED_API PyAPI_FUNC(PyObject *) _PyList_Extend(PyListObject *, PyObject *); PyAPI_FUNC(int) PyList_ClearFreeList(void); PyAPI_FUNC(void) _PyList_DebugMallocStats(FILE *out); #endif /* Macro, trading safety for speed */ #ifndef Py_LIMITED_API #define PyList_GET_ITEM(op, i) (((PyListObject *)(op))->ob_item[i]) #define PyList_SET_ITEM(op, i, v) (((PyListObject *)(op))->ob_item[i] = (v)) #define PyList_GET_SIZE(op) (assert(PyList_Check(op)),Py_SIZE(op)) #define _PyList_ITEMS(op) (((PyListObject *)(op))->ob_item) #endif #ifdef __cplusplus } #endif #endif /* !Py_LISTOBJECT_H */
Upload File
Create Folder