about summary refs log tree commit diff stats
path: root/ranger/gui/displayable.py
diff options
context:
space:
mode:
authortoonn <toonn@toonn.io>2020-01-15 22:11:16 +0100
committertoonn <toonn@toonn.io>2020-07-05 15:23:43 +0200
commit59780d2a4ea9165089b953c3fb1f2883d4a0cb27 (patch)
tree3e015cb8fa2601483ea0f1c4bf85d37aaa22827a /ranger/gui/displayable.py
parenta946dcc7529662a897c4ee986844651c674374b7 (diff)
downloadranger-59780d2a4ea9165089b953c3fb1f2883d4a0cb27.tar.gz
Drop redundant pass statements
Because of the docstrings the function bodies aren't empty and pass is
not required.
Diffstat (limited to 'ranger/gui/displayable.py')
-rw-r--r--ranger/gui/displayable.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/ranger/gui/displayable.py b/ranger/gui/displayable.py
index 1c3fb3e4..fd4eb3b9 100644
--- a/ranger/gui/displayable.py
+++ b/ranger/gui/displayable.py
@@ -118,14 +118,12 @@ class Displayable(  # pylint: disable=too-many-instance-attributes
 
         Override this!
         """
-        pass
 
     def press(self, key):
         """Called when a key is pressed and self.focused is True.
 
         Override this!
         """
-        pass
 
     def poke(self):
         """Called before drawing, even if invisible"""
@@ -141,7 +139,6 @@ class Displayable(  # pylint: disable=too-many-instance-attributes
 
         Override this!
         """
-        pass
 
     def resize(self, y, x, hei=None, wid=None):
         """Resize the widget"""