Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
bebdc376
Kaydet (Commit)
bebdc376
authored
Tem 26, 1995
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
changes for keyword args to built-in functions and classes
üst
454674d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
classobject.h
Include/classobject.h
+1
-1
methodobject.h
Include/methodobject.h
+4
-1
rename2.h
Include/rename2.h
+1
-1
No files found.
Include/classobject.h
Dosyayı görüntüle @
bebdc376
...
...
@@ -62,7 +62,7 @@ extern DL_IMPORT(PyTypeObject) PyClass_Type, PyInstance_Type, PyMethod_Type;
#define PyMethod_Check(op) ((op)->ob_type == &PyMethod_Type)
extern
PyObject
*
PyClass_New
Py_PROTO
((
PyObject
*
,
PyObject
*
,
PyObject
*
));
extern
PyObject
*
PyInstance_New
Py_PROTO
((
PyObject
*
,
PyObject
*
));
extern
PyObject
*
PyInstance_New
Py_PROTO
((
PyObject
*
,
PyObject
*
,
PyObject
*
));
extern
PyObject
*
PyMethod_New
Py_PROTO
((
PyObject
*
,
PyObject
*
,
PyObject
*
));
extern
PyObject
*
PyMethod_Function
Py_PROTO
((
PyObject
*
));
...
...
Include/methodobject.h
Dosyayı görüntüle @
bebdc376
...
...
@@ -35,10 +35,12 @@ extern DL_IMPORT(PyTypeObject) PyCFunction_Type;
#define PyCFunction_Check(op) ((op)->ob_type == &PyCFunction_Type)
typedef
PyObject
*
(
*
PyCFunction
)
Py_FPROTO
((
PyObject
*
,
PyObject
*
));
typedef
PyObject
*
(
*
PyCFunctionWithKeywords
)
Py_FPROTO
((
PyObject
*
,
PyObject
*
,
PyObject
*
));
extern
PyCFunction
PyCFunction_GetFunction
Py_PROTO
((
PyObject
*
));
extern
PyObject
*
PyCFunction_GetSelf
Py_PROTO
((
PyObject
*
));
extern
int
PyCFunction_
IsVarAr
gs
Py_PROTO
((
PyObject
*
));
extern
int
PyCFunction_
GetFla
gs
Py_PROTO
((
PyObject
*
));
struct
PyMethodDef
{
char
*
ml_name
;
...
...
@@ -56,6 +58,7 @@ extern PyObject *PyCFunction_New
/* Flag passed to newmethodobject */
#define METH_VARARGS 0x0001
#define METH_KEYWORDS 0x0002
typedef
struct
PyMethodChain
{
PyMethodDef
*
methods
;
/* Methods of this type */
...
...
Include/rename2.h
Dosyayı görüntüle @
bebdc376
...
...
@@ -292,7 +292,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#define findmethodinchain Py_FindMethodInChain
#define getmethod PyCFunction_GetFunction
#define getself PyCFunction_GetSelf
#define get
varargs PyCFunction_IsVarAr
gs
#define get
flags PyCFunction_GetFla
gs
#define newmethodobject PyCFunction_New
#define getmoduledict PyModule_GetDict
#define getmodulename PyModule_GetName
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment