Skip to content

Commit

Permalink
use r""" as suggested by pydocstyle
Browse files Browse the repository at this point in the history
        D301: Use r""" if any backslashes in a docstring

        Use r"""raw triple double quotes""" if you use any backslashes
        (\) in your docstrings.
        Exceptions are backslashes for line-continuation and unicode escape
        sequences \N... and \u... These are considered intended unescaped
        content in docstrings.
  • Loading branch information
jquast committed Dec 14, 2023
1 parent 8123628 commit 8eb91f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blessed/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1427,7 +1427,7 @@ def keypad(self):
self.stream.flush()

def inkey(self, timeout=None, esc_delay=DEFAULT_ESCDELAY):
"""
r"""
Read and return the next keyboard event within given timeout.
Generally, this should be used inside the :meth:`raw` context manager.
Expand Down

0 comments on commit 8eb91f9

Please sign in to comment.