Download include/python3.9/cpython/methodobject.h from camenduru/slahmr-test: direct link, hf CLI and curl.
- Browser
- Download file 1.4 kB
-
https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/cpython/methodobject.h
- Command line
-
hf download hf://camenduru/slahmr-test/include/python3.9/cpython/methodobject.h
-
curl -L -o methodobject.h https://huggingface.co/camenduru/slahmr-test/resolve/main/include/python3.9/cpython/methodobject.h
1.4 kB
| PyAPI_DATA(PyTypeObject) PyCMethod_Type; | |
| /* Macros for direct access to these values. Type checks are *not* | |
| done, so use with care. */ | |
| typedef struct { | |
| PyObject_HEAD | |
| PyMethodDef *m_ml; /* Description of the C function to call */ | |
| PyObject *m_self; /* Passed as 'self' arg to the C func, can be NULL */ | |
| PyObject *m_module; /* The __module__ attribute, can be anything */ | |
| PyObject *m_weakreflist; /* List of weak references */ | |
| vectorcallfunc vectorcall; | |
| } PyCFunctionObject; | |
| typedef struct { | |
| PyCFunctionObject func; | |
| PyTypeObject *mm_class; /* Class that defines this method */ | |
| } PyCMethodObject; | |