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
da9c2710
Kaydet (Commit)
da9c2710
authored
Ara 05, 1996
tarafından
Guido van Rossum
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Make gcc -Wall happy
üst
472c04f1
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
20 deletions
+6
-20
complexobject.c
Objects/complexobject.c
+0
-14
frameobject.c
Objects/frameobject.c
+1
-1
object.c
Objects/object.c
+2
-2
rangeobject.c
Objects/rangeobject.c
+1
-1
stringobject.c
Objects/stringobject.c
+2
-2
No files found.
Objects/complexobject.c
Dosyayı görüntüle @
da9c2710
...
...
@@ -532,20 +532,6 @@ complex_float(v)
return
NULL
;
}
static
object
*
complex_new
(
self
,
args
)
object
*
self
;
object
*
args
;
{
Py_complex
cval
;
cval
.
imag
=
0
.;
if
(
!
PyArg_ParseTuple
(
args
,
"d|d"
,
&
cval
.
real
,
&
cval
.
imag
))
return
NULL
;
return
newcomplexobject
(
cval
);
}
static
object
*
complex_conjugate
(
self
)
object
*
self
;
...
...
Objects/frameobject.c
Dosyayı görüntüle @
da9c2710
...
...
@@ -154,7 +154,7 @@ newframeobject(back, code, globals, locals, owner, nvalues, nblocks)
if
((
back
!=
NULL
&&
!
is_frameobject
(
back
))
||
code
==
NULL
||
!
is_codeobject
(
code
)
||
globals
==
NULL
||
!
is_dictobject
(
globals
)
||
locals
!=
NULL
&&
!
is_dictobject
(
locals
)
||
(
locals
!=
NULL
&&
!
is_dictobject
(
locals
)
)
||
nvalues
<
0
||
nblocks
<
0
)
{
err_badcall
();
return
NULL
;
...
...
Objects/object.c
Dosyayı görüntüle @
da9c2710
...
...
@@ -626,8 +626,8 @@ _Py_GetObjects(self, args)
/* Hack to force loading of cobject.o */
static
PyTypeObject
*
cobject_hack
=
&
PyCObject_Type
;
PyTypeObject
*
_Py_
cobject_hack
=
&
PyCObject_Type
;
/* Hack to force loading of abstract.o */
static
int
(
*
abstract_hack
)
FPROTO
((
PyObject
*
))
=
&
PyObject_Length
;
int
(
*
_Py_
abstract_hack
)
FPROTO
((
PyObject
*
))
=
&
PyObject_Length
;
Objects/rangeobject.c
Dosyayı görüntüle @
da9c2710
...
...
@@ -98,7 +98,7 @@ range_print(r, fp, flags)
if
(
j
>
0
||
i
>
0
)
fprintf
(
fp
,
", "
);
fprintf
(
fp
,
"%d"
,
r
->
start
+
j
*
r
->
step
);
fprintf
(
fp
,
"%
l
d"
,
r
->
start
+
j
*
r
->
step
);
}
if
(
r
->
len
==
1
&&
r
->
reps
==
1
)
...
...
Objects/stringobject.c
Dosyayı görüntüle @
da9c2710
...
...
@@ -669,17 +669,17 @@ formatstring(format, args)
else
{
/* Got a format specifier */
int
flags
=
0
;
char
*
fmtstart
=
fmt
++
;
int
width
=
-
1
;
int
prec
=
-
1
;
int
size
=
0
;
int
c
=
'\0'
;
int
fill
;
object
*
v
;
object
*
v
=
NULL
;
object
*
temp
=
NULL
;
char
*
buf
;
int
sign
;
int
len
;
fmt
++
;
if
(
*
fmt
==
'('
)
{
char
*
keystart
;
int
keylen
;
...
...
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