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
b049325e
Kaydet (Commit)
b049325e
authored
Mar 31, 2002
tarafından
Neal Norwitz
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use symbolic METH_VARARGS/METH_OLDARGS instead of 1/0 for ml_flags
üst
031829d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
17 deletions
+17
-17
_sre.c
Modules/_sre.c
+5
-5
_tkinter.c
Modules/_tkinter.c
+1
-1
cPickle.c
Modules/cPickle.c
+11
-11
No files found.
Modules/_sre.c
Dosyayı görüntüle @
b049325e
...
...
@@ -2938,8 +2938,8 @@ scanner_search(ScannerObject* self, PyObject* args)
}
static
PyMethodDef
scanner_methods
[]
=
{
{
"match"
,
(
PyCFunction
)
scanner_match
,
0
},
{
"search"
,
(
PyCFunction
)
scanner_search
,
0
},
{
"match"
,
(
PyCFunction
)
scanner_match
,
METH_OLDARGS
},
{
"search"
,
(
PyCFunction
)
scanner_search
,
METH_OLDARGS
},
{
NULL
,
NULL
}
};
...
...
@@ -2974,9 +2974,9 @@ statichere PyTypeObject Scanner_Type = {
};
static
PyMethodDef
_functions
[]
=
{
{
"compile"
,
_compile
,
1
},
{
"getcodesize"
,
sre_codesize
,
1
},
{
"getlower"
,
sre_getlower
,
1
},
{
"compile"
,
_compile
,
METH_VARARGS
},
{
"getcodesize"
,
sre_codesize
,
METH_VARARGS
},
{
"getlower"
,
sre_getlower
,
METH_VARARGS
},
{
NULL
,
NULL
}
};
...
...
Modules/_tkinter.c
Dosyayı görüntüle @
b049325e
...
...
@@ -1546,7 +1546,7 @@ Tktt_DeleteTimerHandler(PyObject *self, PyObject *args)
static
PyMethodDef
Tktt_methods
[]
=
{
{
"deletetimerhandler"
,
Tktt_DeleteTimerHandler
,
1
},
{
"deletetimerhandler"
,
Tktt_DeleteTimerHandler
,
METH_VARARGS
},
{
NULL
,
NULL
}
};
...
...
Modules/cPickle.c
Dosyayı görüntüle @
b049325e
...
...
@@ -2259,13 +2259,13 @@ Pickler_dump(Picklerobject *self, PyObject *args) {
static
struct
PyMethodDef
Pickler_methods
[]
=
{
{
"dump"
,
(
PyCFunction
)
Pickler_dump
,
1
,
{
"dump"
,
(
PyCFunction
)
Pickler_dump
,
METH_VARARGS
,
"dump(object) --"
"Write an object in pickle format to the object's pickle stream
\n
"
},
{
"clear_memo"
,
(
PyCFunction
)
Pickle_clear_memo
,
1
,
{
"clear_memo"
,
(
PyCFunction
)
Pickle_clear_memo
,
METH_VARARGS
,
"clear_memo() -- Clear the picklers memo"
},
{
"getvalue"
,
(
PyCFunction
)
Pickle_getvalue
,
1
,
{
"getvalue"
,
(
PyCFunction
)
Pickle_getvalue
,
METH_VARARGS
,
"getvalue() -- Finish picking a list-based pickle"
},
{
NULL
,
NULL
}
/* sentinel */
};
...
...
@@ -4179,10 +4179,10 @@ Unpickler_noload(Unpicklerobject *self, PyObject *args) {
static
struct
PyMethodDef
Unpickler_methods
[]
=
{
{
"load"
,
(
PyCFunction
)
Unpickler_load
,
1
,
{
"load"
,
(
PyCFunction
)
Unpickler_load
,
METH_VARARGS
,
"load() -- Load a pickle"
},
{
"noload"
,
(
PyCFunction
)
Unpickler_noload
,
1
,
{
"noload"
,
(
PyCFunction
)
Unpickler_noload
,
METH_VARARGS
,
"noload() -- not load a pickle, but go through most of the motions
\n
"
"
\n
"
"This function can be used to read past a pickle without instantiating
\n
"
...
...
@@ -4513,7 +4513,7 @@ static PyTypeObject Unpicklertype = {
};
static
struct
PyMethodDef
cPickle_methods
[]
=
{
{
"dump"
,
(
PyCFunction
)
cpm_dump
,
1
,
{
"dump"
,
(
PyCFunction
)
cpm_dump
,
METH_VARARGS
,
"dump(object, file, [binary]) --"
"Write an object in pickle format to the given file
\n
"
"
\n
"
...
...
@@ -4521,7 +4521,7 @@ static struct PyMethodDef cPickle_methods[] = {
"pickle will be written in binary format, which is more space and
\n
"
"computationally efficient.
\n
"
},
{
"dumps"
,
(
PyCFunction
)
cpm_dumps
,
1
,
{
"dumps"
,
(
PyCFunction
)
cpm_dumps
,
METH_VARARGS
,
"dumps(object, [binary]) --"
"Return a string containing an object in pickle format
\n
"
"
\n
"
...
...
@@ -4529,18 +4529,18 @@ static struct PyMethodDef cPickle_methods[] = {
"pickle will be written in binary format, which is more space and
\n
"
"computationally efficient.
\n
"
},
{
"load"
,
(
PyCFunction
)
cpm_load
,
1
,
{
"load"
,
(
PyCFunction
)
cpm_load
,
METH_VARARGS
,
"load(file) -- Load a pickle from the given file"
},
{
"loads"
,
(
PyCFunction
)
cpm_loads
,
1
,
{
"loads"
,
(
PyCFunction
)
cpm_loads
,
METH_VARARGS
,
"loads(string) -- Load a pickle from the given string"
},
{
"Pickler"
,
(
PyCFunction
)
get_Pickler
,
1
,
{
"Pickler"
,
(
PyCFunction
)
get_Pickler
,
METH_VARARGS
,
"Pickler(file, [binary]) -- Create a pickler
\n
"
"
\n
"
"If the optional argument, binary, is provided and is true, then
\n
"
"pickles will be written in binary format, which is more space and
\n
"
"computationally efficient.
\n
"
},
{
"Unpickler"
,
(
PyCFunction
)
get_Unpickler
,
1
,
{
"Unpickler"
,
(
PyCFunction
)
get_Unpickler
,
METH_VARARGS
,
"Unpickler(file) -- Create an unpickler"
},
{
NULL
,
NULL
}
};
...
...
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