Skip to content

Commit e84a4eb

Browse files
committed
Improve use of super
1 parent e6ed5a5 commit e84a4eb

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/test_terminal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,13 +71,13 @@ def _arguments(self, char):
7171
# is wait for the 'n' argument.
7272
return self.dispatch(self.report_escape[self.current])
7373
else:
74-
return super(ReportingStream, self)._arguments(char)
74+
return super()._arguments(char)
7575

7676

7777
class ReportingScreen(Screen):
7878
def __init__(self, *args, **kwargs):
7979
self._report_file = FakeStdin()
80-
super(ReportingScreen, self).__init__(*args, **kwargs)
80+
super().__init__(*args, **kwargs)
8181

8282
def report_cursor_position(self):
8383
# cursor position is 1-indexed in the ANSI escape sequence API

0 commit comments

Comments
 (0)