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
9ab80a9f
Kaydet (Commit)
9ab80a9f
authored
Agu 17, 2007
tarafından
Walter Dörwald
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Move another variable declaration up.
üst
6c82b6c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
unicodeobject.c
Objects/unicodeobject.c
+2
-2
No files found.
Objects/unicodeobject.c
Dosyayı görüntüle @
9ab80a9f
...
@@ -1542,6 +1542,8 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
...
@@ -1542,6 +1542,8 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
#else
#else
int
iorder
[]
=
{
3
,
2
,
1
,
0
};
int
iorder
[]
=
{
3
,
2
,
1
,
0
};
#endif
#endif
PyObject
*
errorHandler
=
NULL
;
PyObject
*
exc
=
NULL
;
/* On narrow builds we split characters outside the BMP into two
/* On narrow builds we split characters outside the BMP into two
codepoints => count how much extra space we need. */
codepoints => count how much extra space we need. */
#ifndef Py_UNICODE_WIDE
#ifndef Py_UNICODE_WIDE
...
@@ -1549,8 +1551,6 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
...
@@ -1549,8 +1551,6 @@ PyUnicode_DecodeUTF32Stateful(const char *s,
if
(((
Py_UCS4
*
)
s
)[
i
]
>=
0x10000
)
if
(((
Py_UCS4
*
)
s
)[
i
]
>=
0x10000
)
pairs
++
;
pairs
++
;
#endif
#endif
PyObject
*
errorHandler
=
NULL
;
PyObject
*
exc
=
NULL
;
/* This might be one to much, because of a BOM */
/* This might be one to much, because of a BOM */
unicode
=
_PyUnicode_New
((
size
+
3
)
/
4
+
pairs
);
unicode
=
_PyUnicode_New
((
size
+
3
)
/
4
+
pairs
);
...
...
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