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. back to the main process.
""" """
class Signal(object): class Signal(object):
"""A mechanism for registering functions to be called whenever """A mechanism for registering functions to be called whenever
some specified event happens. This object is designed to work with 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 # force pickled signals to redirect to existing signals
def __getstate__(self): def __getstate__(self):
return self.fullname return self.fullname
def __setstate__(self, fullname): def __setstate__(self, fullname):
for attr in dir(self.signals[fullname]): for attr in dir(self.signals[fullname]):
if attr.startswith('_'): if attr.startswith('_'):