Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
be700028
Commit
be700028
authored
Mar 04, 2016
by
Serhiy Storchaka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed typo in pickle tests.
parent
cfc2a1fc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Lib/test/pickletester.py
Lib/test/pickletester.py
+2
-2
No files found.
Lib/test/pickletester.py
View file @
be700028
...
...
@@ -2448,7 +2448,7 @@ class REX_six(object):
def
__init__
(
self
,
items
=
None
):
self
.
items
=
items
if
items
is
not
None
else
[]
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
):
self
.
items
.
append
(
item
)
def
__reduce__
(
self
):
...
...
@@ -2461,7 +2461,7 @@ class REX_seven(object):
def
__init__
(
self
,
table
=
None
):
self
.
table
=
table
if
table
is
not
None
else
{}
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
):
self
.
table
[
key
]
=
value
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