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
cd27df3a
Kaydet (Commit)
cd27df3a
authored
Ock 23, 2012
tarafından
Amaury Forgeot d'Arc
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix compilation warnings (seen on win32 buildbot)
üst
5b45a013
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
formatter_unicode.c
Python/formatter_unicode.c
+4
-4
No files found.
Python/formatter_unicode.c
Dosyayı görüntüle @
cd27df3a
...
@@ -682,7 +682,7 @@ format_string_internal(PyObject *value, const InternalFormatSpec *format)
...
@@ -682,7 +682,7 @@ format_string_internal(PyObject *value, const InternalFormatSpec *format)
Py_ssize_t
pos
;
Py_ssize_t
pos
;
Py_ssize_t
len
=
PyUnicode_GET_LENGTH
(
value
);
Py_ssize_t
len
=
PyUnicode_GET_LENGTH
(
value
);
PyObject
*
result
=
NULL
;
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
/* sign is not allowed on strings */
/* sign is not allowed on strings */
if
(
format
->
sign
!=
'\0'
)
{
if
(
format
->
sign
!=
'\0'
)
{
...
@@ -749,7 +749,7 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
...
@@ -749,7 +749,7 @@ format_int_or_long_internal(PyObject *value, const InternalFormatSpec *format,
IntOrLongToString
tostring
)
IntOrLongToString
tostring
)
{
{
PyObject
*
result
=
NULL
;
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
PyObject
*
tmp
=
NULL
;
PyObject
*
tmp
=
NULL
;
Py_ssize_t
inumeric_chars
;
Py_ssize_t
inumeric_chars
;
Py_UCS4
sign_char
=
'\0'
;
Py_UCS4
sign_char
=
'\0'
;
...
@@ -926,7 +926,7 @@ format_float_internal(PyObject *value,
...
@@ -926,7 +926,7 @@ format_float_internal(PyObject *value,
NumberFieldWidths
spec
;
NumberFieldWidths
spec
;
int
flags
=
0
;
int
flags
=
0
;
PyObject
*
result
=
NULL
;
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
Py_UCS4
sign_char
=
'\0'
;
Py_UCS4
sign_char
=
'\0'
;
int
float_type
;
/* Used to see if we have a nan, inf, or regular float. */
int
float_type
;
/* Used to see if we have a nan, inf, or regular float. */
PyObject
*
unicode_tmp
=
NULL
;
PyObject
*
unicode_tmp
=
NULL
;
...
@@ -1070,7 +1070,7 @@ format_complex_internal(PyObject *value,
...
@@ -1070,7 +1070,7 @@ format_complex_internal(PyObject *value,
NumberFieldWidths
im_spec
;
NumberFieldWidths
im_spec
;
int
flags
=
0
;
int
flags
=
0
;
PyObject
*
result
=
NULL
;
PyObject
*
result
=
NULL
;
int
maxchar
=
127
;
Py_UCS4
maxchar
=
127
;
int
rkind
;
int
rkind
;
void
*
rdata
;
void
*
rdata
;
Py_ssize_t
index
;
Py_ssize_t
index
;
...
...
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