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
be700028
Kaydet (Commit)
be700028
authored
Mar 04, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed typo in pickle tests.
üst
cfc2a1fc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pickletester.py
Lib/test/pickletester.py
+2
-2
No files found.
Lib/test/pickletester.py
Dosyayı görüntüle @
be700028
...
@@ -2448,7 +2448,7 @@ class REX_six(object):
...
@@ -2448,7 +2448,7 @@ class REX_six(object):
def
__init__
(
self
,
items
=
None
):
def
__init__
(
self
,
items
=
None
):
self
.
items
=
items
if
items
is
not
None
else
[]
self
.
items
=
items
if
items
is
not
None
else
[]
def
__eq__
(
self
,
other
):
def
__eq__
(
self
,
other
):
return
type
(
self
)
is
type
(
other
)
and
self
.
items
==
self
.
items
return
type
(
self
)
is
type
(
other
)
and
self
.
items
==
other
.
items
def
append
(
self
,
item
):
def
append
(
self
,
item
):
self
.
items
.
append
(
item
)
self
.
items
.
append
(
item
)
def
__reduce__
(
self
):
def
__reduce__
(
self
):
...
@@ -2461,7 +2461,7 @@ class REX_seven(object):
...
@@ -2461,7 +2461,7 @@ class REX_seven(object):
def
__init__
(
self
,
table
=
None
):
def
__init__
(
self
,
table
=
None
):
self
.
table
=
table
if
table
is
not
None
else
{}
self
.
table
=
table
if
table
is
not
None
else
{}
def
__eq__
(
self
,
other
):
def
__eq__
(
self
,
other
):
return
type
(
self
)
is
type
(
other
)
and
self
.
table
==
self
.
table
return
type
(
self
)
is
type
(
other
)
and
self
.
table
==
other
.
table
def
__setitem__
(
self
,
key
,
value
):
def
__setitem__
(
self
,
key
,
value
):
self
.
table
[
key
]
=
value
self
.
table
[
key
]
=
value
def
__reduce__
(
self
):
def
__reduce__
(
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