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/classobject.h
/* Former class object interface -- now only bound methods are here  */

/* Revealing some structures (not for general use) */

#ifndef Py_LIMITED_API
#ifndef Py_CLASSOBJECT_H
#define Py_CLASSOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

typedef struct {
    PyObject_HEAD
    PyObject *im_func;   /* The callable object implementing the method */
    PyObject *im_self;   /* The instance it is bound to */
    PyObject *im_weakreflist; /* List of weak references */
    vectorcallfunc vectorcall;
} PyMethodObject;

PyAPI_DATA(PyTypeObject) PyMethod_Type;

#define PyMethod_Check(op) Py_IS_TYPE(op, &PyMethod_Type)

PyAPI_FUNC(PyObject *) PyMethod_New(PyObject *, PyObject *);

PyAPI_FUNC(PyObject *) PyMethod_Function(PyObject *);
PyAPI_FUNC(PyObject *) PyMethod_Self(PyObject *);

/* Macros for direct access to these values. Type checks are *not*
   done, so use with care. */
#define PyMethod_GET_FUNCTION(meth) \
        (((PyMethodObject *)meth) -> im_func)
#define PyMethod_GET_SELF(meth) \
        (((PyMethodObject *)meth) -> im_self)

typedef struct {
    PyObject_HEAD
    PyObject *func;
} PyInstanceMethodObject;

PyAPI_DATA(PyTypeObject) PyInstanceMethod_Type;

#define PyInstanceMethod_Check(op) Py_IS_TYPE(op, &PyInstanceMethod_Type)

PyAPI_FUNC(PyObject *) PyInstanceMethod_New(PyObject *);
PyAPI_FUNC(PyObject *) PyInstanceMethod_Function(PyObject *);

/* Macros for direct access to these values. Type checks are *not*
   done, so use with care. */
#define PyInstanceMethod_GET_FUNCTION(meth) \
        (((PyInstanceMethodObject *)meth) -> func)

#ifdef __cplusplus
}
#endif
#endif   // !Py_CLASSOBJECT_H
#endif   // !Py_LIMITED_API
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--