0

signals: whitespace fixes

This commit is contained in:
Nicolas F
2019-07-12 17:48:32 +02:00
parent 07cb05f4d8
commit f6937fe6a3

View File

@@ -20,6 +20,7 @@ the ability to be intercepted, which lets Dispatchers re-route signals
back to the main process.
"""
class Signal(object):
"""A mechanism for registering functions to be called whenever
some specified event happens. This object is designed to work with
@@ -93,6 +94,7 @@ class Signal(object):
# force pickled signals to redirect to existing signals
def __getstate__(self):
return self.fullname
def __setstate__(self, fullname):
for attr in dir(self.signals[fullname]):
if attr.startswith('_'):