about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2021-08-27 19:43:04 +0200
committertoonn <toonn@toonn.io>2021-08-27 19:43:04 +0200
commitdbf2144903cd903c357324cc5dd18588a6543d31 (patch)
treedb4a5edaa56e6ecac8896d07cb3cddccba224d52
parentba3a7685a3e658b25353ebae659c3717ed10daea (diff)
downloadranger-dbf2144903cd903c357324cc5dd18588a6543d31.tar.gz
signals: Use literals
-rw-r--r--ranger/ext/signals.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/ranger/ext/signals.py b/ranger/ext/signals.py
index 0973249c..8d3f84c9 100644
--- a/ranger/ext/signals.py
+++ b/ranger/ext/signals.py
@@ -106,14 +106,14 @@ class SignalDispatcher(object):
     """This abstract class handles the binding and emitting of signals."""
 
     def __init__(self):
-        self._signals = dict()
+        self._signals = {}
 
     def signal_clear(self):
         """Remove all signals."""
         for handler_list in self._signals.values():
             for handler in handler_list:
                 handler.function = None
-        self._signals = dict()
+        self._signals = {}
 
     def signal_bind(self, signal_name, function, priority=0.5, weak=False, autosort=True):
         """Bind a function to the signal.