Skip to content

Commit

Permalink
Document kwargs as **kwargs for Terminal.wrap() (#231)
Browse files Browse the repository at this point in the history
  • Loading branch information
mwchase committed Dec 3, 2021
1 parent 08417d6 commit 9c81ce7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blessed/terminal.py
Original file line number Diff line number Diff line change
Expand Up @@ -1153,7 +1153,7 @@ def split_seqs(self, text, maxsplit=0):
return result

def wrap(self, text, width=None, **kwargs):
"""
r"""
Text-wrap a string, returning a list of wrapped lines.
:arg str text: Unlike :func:`textwrap.wrap`, ``text`` may contain
Expand All @@ -1162,7 +1162,7 @@ def wrap(self, text, width=None, **kwargs):
:func:`string.expandtabs`.
:arg int width: Unlike :func:`textwrap.wrap`, ``width`` will
default to the width of the attached terminal.
:arg kwargs: See :py:class:`textwrap.TextWrapper`
:arg \**kwargs: See :py:class:`textwrap.TextWrapper`
:rtype: list
:returns: List of wrapped lines
Expand Down

0 comments on commit 9c81ce7

Please sign in to comment.