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
b2b62628
Kaydet (Commit)
b2b62628
authored
Kas 22, 2007
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Removed some leftovers from the str8 days
üst
4d279c1f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
8 deletions
+1
-8
string_tests.py
Lib/test/string_tests.py
+0
-4
test_bytes.py
Lib/test/test_bytes.py
+0
-3
_tkinter.c
Modules/_tkinter.c
+1
-1
No files found.
Lib/test/string_tests.py
Dosyayı görüntüle @
b2b62628
...
...
@@ -586,10 +586,6 @@ class CommonTest(BaseTest):
a
=
self
.
type2test
(
'DNSSEC'
)
b
=
self
.
type2test
(
''
)
for
c
in
a
:
## # Special case for the str8, since indexing returns a integer
## # XXX Maybe it would be a good idea to seperate str8's tests...
## if self.type2test == str8:
## c = chr(c)
b
+=
c
hash
(
b
)
self
.
assertEqual
(
hash
(
a
),
hash
(
b
))
...
...
Lib/test/test_bytes.py
Dosyayı görüntüle @
b2b62628
...
...
@@ -801,9 +801,6 @@ class BytearrayPEP3137Test(unittest.TestCase,
test
.
buffer_tests
.
MixinBytesBufferCommonTests
):
def
marshal
(
self
,
x
):
return
bytearray
(
x
)
# TODO this should become:
#return bytearray(x)
# once the bytes -> bytearray and str8 -> bytes rename happens
def
test_returns_new_copy
(
self
):
val
=
self
.
marshal
(
b
'1234'
)
...
...
Modules/_tkinter.c
Dosyayı görüntüle @
b2b62628
...
...
@@ -750,7 +750,7 @@ PyTclObject_TclString(PyObject *self)
/* Like _str, but create Unicode if necessary. */
PyDoc_STRVAR
(
PyTclObject_string__doc__
,
"the string representation of this object, either as str
8 or str
"
);
"the string representation of this object, either as str
or bytes
"
);
static
PyObject
*
PyTclObject_string
(
PyTclObject
*
self
,
void
*
ignored
)
...
...
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