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
1d4b35f4
Kaydet (Commit)
1d4b35f4
authored
Eki 05, 2011
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
rephrase PyUnicode_1BYTE_KIND documentation
üst
fb9ea8c5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
6 deletions
+7
-6
unicodeobject.h
Include/unicodeobject.h
+7
-6
No files found.
Include/unicodeobject.h
Dosyayı görüntüle @
1d4b35f4
...
...
@@ -296,13 +296,14 @@ typedef struct {
- PyUnicode_1BYTE_KIND (1):
* character type = Py_UCS1 (8 bits, unsigned)
* if ascii is 1, at least one character must be in range
U+80-U+FF, otherwise all characters must be in range U+00-U+7F
* if ascii is set, all characters must be in range
U+0000-U+007F, otherwise at least one character must be in range
U+0080-U+00FF
- PyUnicode_2BYTE_KIND (2):
* character type = Py_UCS2 (16 bits, unsigned)
* at least one character must be in range U+0100-U+
1
FFFF
* at least one character must be in range U+0100-U+FFFF
- PyUnicode_4BYTE_KIND (3):
...
...
@@ -315,9 +316,9 @@ typedef struct {
one block for the PyUnicodeObject struct and another for its data
buffer. */
unsigned
int
compact
:
1
;
/*
kind is PyUnicode_1BYTE_KIND but data contains only ASCII
characters. If ascii is 1 and compact is 1, use the PyASCIIObject
structure. */
/*
The string only contains characters in range U+0000-U+007F (ASCII)
and the kind is PyUnicode_1BYTE_KIND. If ascii is set and compact is
s
et, use the PyASCIIObject s
tructure. */
unsigned
int
ascii
:
1
;
/* The ready flag indicates whether the object layout is initialized
completely. This means that this is either a compact object, or
...
...
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