Skip to content

Commit b3b1579

Browse files
committed
Drop initscr() from termname(), it takes no terminal name
1 parent a7ccf0a commit b3b1579

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/curses.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -894,7 +894,7 @@ Querying the terminal
894894
.. function:: termname()
895895

896896
Return the name of the terminal in use, as a bytes object.
897-
This is the name passed to :func:`initscr`, :func:`newterm` or
897+
This is the name passed to :func:`newterm` or
898898
:func:`setupterm`, or the value of the :envvar:`TERM` environment variable
899899
if none was given. Some curses libraries truncate it to 14 characters.
900900

0 commit comments

Comments
 (0)