Skip to content

Commit fd5c3f4

Browse files
zydtigerpicnixz
andauthored
Update Doc/library/curses.rst
Co-authored-by: Bénédikt Tran <[email protected]>
1 parent 20046cb commit fd5c3f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/curses.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,8 +1081,8 @@ the following methods and attributes:
10811081
Return a bytes object of characters, extracted from the window starting at the
10821082
current cursor position, or at *y*, *x* if specified. Attributes are stripped
10831083
from the characters. If *n* is specified, :meth:`instr` returns a string
1084-
at most *n* characters long (exclusive of the trailing NUL). The maximum of *n*
1085-
for this method is 2047.
1084+
at most *n* characters long (exclusive of the trailing NUL).
1085+
The maximum value for *n* is 2047.
10861086

10871087
.. versionchanged:: next
10881088
The maximum value for *n* is set to 2047.

0 commit comments

Comments
 (0)