mirror of
https://github.com/python/cpython.git
synced 2025-11-02 11:08:57 +00:00
Fix whitespace
This commit is contained in:
parent
c9dc4a2a8a
commit
7cd9fbe087
1 changed files with 3 additions and 3 deletions
|
|
@ -4774,7 +4774,7 @@ class PicklingTests(unittest.TestCase):
|
|||
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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue