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
ca819c3c
Kaydet (Commit)
ca819c3c
authored
Nis 09, 2012
tarafından
Benjamin Peterson
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
merge 3.1 (#14509)
üst
c0aa9eeb
f6622c8a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
bytesobject.c
Objects/bytesobject.c
+2
-0
unicodeobject.c
Objects/unicodeobject.c
+2
-0
No files found.
Objects/bytesobject.c
Dosyayı görüntüle @
ca819c3c
...
@@ -875,7 +875,9 @@ bytes_hash(PyBytesObject *a)
...
@@ -875,7 +875,9 @@ bytes_hash(PyBytesObject *a)
register
unsigned
char
*
p
;
register
unsigned
char
*
p
;
register
Py_hash_t
x
;
register
Py_hash_t
x
;
#ifdef Py_DEBUG
assert
(
_Py_HashSecret_Initialized
);
assert
(
_Py_HashSecret_Initialized
);
#endif
if
(
a
->
ob_shash
!=
-
1
)
if
(
a
->
ob_shash
!=
-
1
)
return
a
->
ob_shash
;
return
a
->
ob_shash
;
len
=
Py_SIZE
(
a
);
len
=
Py_SIZE
(
a
);
...
...
Objects/unicodeobject.c
Dosyayı görüntüle @
ca819c3c
...
@@ -7673,7 +7673,9 @@ unicode_hash(PyUnicodeObject *self)
...
@@ -7673,7 +7673,9 @@ unicode_hash(PyUnicodeObject *self)
Py_UNICODE
*
p
;
Py_UNICODE
*
p
;
Py_hash_t
x
;
Py_hash_t
x
;
#ifdef Py_DEBUG
assert
(
_Py_HashSecret_Initialized
);
assert
(
_Py_HashSecret_Initialized
);
#endif
if
(
self
->
hash
!=
-
1
)
if
(
self
->
hash
!=
-
1
)
return
self
->
hash
;
return
self
->
hash
;
len
=
Py_SIZE
(
self
);
len
=
Py_SIZE
(
self
);
...
...
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