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
bae6881b
Kaydet (Commit)
bae6881b
authored
Nis 05, 2017
tarafından
Serhiy Storchaka
Kaydeden (comit)
GitHub
Nis 05, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update Argument Clinic generated code for bpo-29878. (#1001)
üst
5affd23e
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
complexobject.c.h
Objects/clinic/complexobject.c.h
+2
-2
floatobject.c.h
Objects/clinic/floatobject.c.h
+2
-2
complexobject.c
Objects/complexobject.c
+1
-1
floatobject.c
Objects/floatobject.c
+1
-1
No files found.
Objects/clinic/complexobject.c.h
Dosyayı görüntüle @
bae6881b
...
...
@@ -19,7 +19,7 @@ complex_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
PyObject
*
return_value
=
NULL
;
static
const
char
*
const
_keywords
[]
=
{
"real"
,
"imag"
,
NULL
};
static
_PyArg_Parser
_parser
=
{
"|OO:complex"
,
_keywords
,
0
};
PyObject
*
r
=
Py_False
;
PyObject
*
r
=
_PyLong_Zero
;
PyObject
*
i
=
NULL
;
if
(
!
_PyArg_ParseTupleAndKeywordsFast
(
args
,
kwargs
,
&
_parser
,
...
...
@@ -31,4 +31,4 @@ complex_new(PyTypeObject *type, PyObject *args, PyObject *kwargs)
exit:
return
return_value
;
}
/*[clinic end generated code: output=
74035493480ab5e5
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
5017b2458bdc4ecd
input=a9049054013a1b77]*/
Objects/clinic/floatobject.c.h
Dosyayı görüntüle @
bae6881b
...
...
@@ -171,7 +171,7 @@ static PyObject *
float_new
(
PyTypeObject
*
type
,
PyObject
*
args
,
PyObject
*
kwargs
)
{
PyObject
*
return_value
=
NULL
;
PyObject
*
x
=
Py_False
;
PyObject
*
x
=
_PyLong_Zero
;
if
((
type
==
&
PyFloat_Type
)
&&
!
_PyArg_NoKeywords
(
"float"
,
kwargs
))
{
...
...
@@ -313,4 +313,4 @@ float___format__(PyObject *self, PyObject *arg)
exit:
return
return_value
;
}
/*[clinic end generated code: output=
a3dafb0f6c6f1514
input=a9049054013a1b77]*/
/*[clinic end generated code: output=
dc6b0b67a7e40c93
input=a9049054013a1b77]*/
Objects/complexobject.c
Dosyayı görüntüle @
bae6881b
...
...
@@ -946,7 +946,7 @@ This is equivalent to (real + imag*1j) where imag defaults to 0.
static
PyObject
*
complex_new_impl
(
PyTypeObject
*
type
,
PyObject
*
r
,
PyObject
*
i
)
/*[clinic end generated code: output=b6c7dd577b537dc1 input=
e3d6b77ddcf280da
]*/
/*[clinic end generated code: output=b6c7dd577b537dc1 input=
6f6b0bedba29bcb5
]*/
{
PyObject
*
tmp
;
PyNumberMethods
*
nbr
,
*
nbi
=
NULL
;
...
...
Objects/floatobject.c
Dosyayı görüntüle @
bae6881b
...
...
@@ -1619,7 +1619,7 @@ Convert a string or number to a floating point number, if possible.
static
PyObject
*
float_new_impl
(
PyTypeObject
*
type
,
PyObject
*
x
)
/*[clinic end generated code: output=ccf1e8dc460ba6ba input=
c98d8e811ad203
7a]*/
/*[clinic end generated code: output=ccf1e8dc460ba6ba input=
540ee77c204ff8
7a]*/
{
if
(
type
!=
&
PyFloat_Type
)
return
float_subtype_new
(
type
,
x
);
/* Wimp out */
...
...
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