Commit 40dc125f authored by Stefan Behnel's avatar Stefan Behnel

minor readability/safety fix

parent cc52bac9
......@@ -1702,7 +1702,7 @@ if VALUE is not None:
state = (%(members)s)
_dict = getattr(self, '__dict__', None)
if _dict is not None:
state += _dict,
state += (_dict,)
use_setstate = True
else:
use_setstate = %(any_notnone_members)s
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment