[Python-checkins] cpython: Fix whitespace
antoine.pitrou
python-checkins at python.org
Sat Nov 23 19:01:48 CET 2013
http://hg.python.org/cpython/rev/91faefbeb343
changeset: 87439:91faefbeb343
user: Antoine Pitrou <solipsis at pitrou.net>
date: Sat Nov 23 19:01:36 2013 +0100
summary:
Fix whitespace
files:
Lib/test/test_descr.py | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -4525,7 +4525,7 @@
class PicklingTests(unittest.TestCase):
- def _check_reduce(self, proto, obj, args=(), kwargs={}, state=None,
+ def _check_reduce(self, proto, obj, args=(), kwargs={}, state=None,
listitems=None, dictitems=None):
if proto >= 4:
reduce_value = obj.__reduce_ex__(proto)
@@ -4559,7 +4559,7 @@
base_type = type(obj).__base__
reduce_value = (copyreg._reconstructor,
(type(obj),
- base_type,
+ base_type,
None if base_type is object else base_type(obj)))
if state is not None:
reduce_value += (state,)
@@ -4774,7 +4774,7 @@
def __getstate__(self):
state = getattr(self, '__dict__', {}).copy()
for cls in type(self).__mro__:
- for slot in cls.__dict__.get('__slots__', ()):
+ for slot in cls.__dict__.get('__slots__', ()):
try:
state[slot] = getattr(self, slot)
except AttributeError:
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list