Psyduck - 可達鴨 之 鴨力山大2


Server : LiteSpeed
System : Linux premium217.web-hosting.com 4.18.0-553.54.1.lve.el8.x86_64 #1 SMP Wed Jun 4 13:01:13 UTC 2025 x86_64
User : alloknri ( 880)
PHP Version : 8.1.34
Disable Function : NONE
Directory :  /opt/alt/python311/include/python3.11/cpython/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //opt/alt/python311/include/python3.11/cpython/tupleobject.h
#ifndef Py_CPYTHON_TUPLEOBJECT_H
#  error "this header file must not be included directly"
#endif

typedef struct {
    PyObject_VAR_HEAD
    /* ob_item contains space for 'ob_size' elements.
       Items must normally not be NULL, except during construction when
       the tuple is not yet visible outside the function that builds it. */
    PyObject *ob_item[1];
} PyTupleObject;

PyAPI_FUNC(int) _PyTuple_Resize(PyObject **, Py_ssize_t);
PyAPI_FUNC(void) _PyTuple_MaybeUntrack(PyObject *);

/* Cast argument to PyTupleObject* type. */
#define _PyTuple_CAST(op) \
    (assert(PyTuple_Check(op)), _Py_CAST(PyTupleObject*, (op)))

// Macros and static inline functions, trading safety for speed

static inline Py_ssize_t PyTuple_GET_SIZE(PyObject *op) {
    PyTupleObject *tuple = _PyTuple_CAST(op);
    return Py_SIZE(tuple);
}
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
#  define PyTuple_GET_SIZE(op) PyTuple_GET_SIZE(_PyObject_CAST(op))
#endif

#define PyTuple_GET_ITEM(op, index) (_PyTuple_CAST(op)->ob_item[index])

/* Function *only* to be used to fill in brand new tuples */
static inline void
PyTuple_SET_ITEM(PyObject *op, Py_ssize_t index, PyObject *value) {
    PyTupleObject *tuple = _PyTuple_CAST(op);
    tuple->ob_item[index] = value;
}
#if !defined(Py_LIMITED_API) || Py_LIMITED_API+0 < 0x030b0000
#define PyTuple_SET_ITEM(op, index, value) \
    PyTuple_SET_ITEM(_PyObject_CAST(op), index, _PyObject_CAST(value))
#endif

PyAPI_FUNC(void) _PyTuple_DebugMallocStats(FILE *out);
Name
Size
Permissions
Options
abstract.h
8.036 KB
-rw-r--r--
bytearrayobject.h
1.274 KB
-rw-r--r--
bytesobject.h
4.689 KB
-rw-r--r--
cellobject.h
0.706 KB
-rw-r--r--
ceval.h
1.21 KB
-rw-r--r--
classobject.h
1.617 KB
-rw-r--r--
code.h
11.215 KB
-rw-r--r--
compile.h
2.166 KB
-rw-r--r--
complexobject.h
1.219 KB
-rw-r--r--
context.h
1.913 KB
-rw-r--r--
descrobject.h
1.604 KB
-rw-r--r--
dictobject.h
3.246 KB
-rw-r--r--
fileobject.h
0.799 KB
-rw-r--r--
fileutils.h
0.227 KB
-rw-r--r--
floatobject.h
0.686 KB
-rw-r--r--
frameobject.h
1.082 KB
-rw-r--r--
funcobject.h
4.32 KB
-rw-r--r--
genobject.h
3.202 KB
-rw-r--r--
import.h
1.49 KB
-rw-r--r--
initconfig.h
7.634 KB
-rw-r--r--
listobject.h
1.728 KB
-rw-r--r--
longintrepr.h
3.728 KB
-rw-r--r--
longobject.h
4.426 KB
-rw-r--r--
methodobject.h
2.496 KB
-rw-r--r--
modsupport.h
4.202 KB
-rw-r--r--
object.h
17.876 KB
-rw-r--r--
objimpl.h
2.928 KB
-rw-r--r--
odictobject.h
1.269 KB
-rw-r--r--
picklebufobject.h
0.826 KB
-rw-r--r--
pthread_stubs.h
3.423 KB
-rw-r--r--
pyctype.h
1.354 KB
-rw-r--r--
pydebug.h
1.048 KB
-rw-r--r--
pyerrors.h
4.416 KB
-rw-r--r--
pyfpe.h
0.434 KB
-rw-r--r--
pyframe.h
0.568 KB
-rw-r--r--
pylifecycle.h
2.05 KB
-rw-r--r--
pymem.h
3.3 KB
-rw-r--r--
pystate.h
14.015 KB
-rw-r--r--
pythonrun.h
4.698 KB
-rw-r--r--
pythread.h
1.393 KB
-rw-r--r--
pytime.h
11.873 KB
-rw-r--r--
setobject.h
1.95 KB
-rw-r--r--
sysmodule.h
0.478 KB
-rw-r--r--
traceback.h
0.434 KB
-rw-r--r--
tupleobject.h
1.478 KB
-rw-r--r--
unicodeobject.h
41.737 KB
-rw-r--r--
warnings.h
0.547 KB
-rw-r--r--
weakrefobject.h
2.054 KB
-rw-r--r--