summaryrefslogtreecommitdiffstats
path: root/Doc/howto/curses.rst
diff options
context:
space:
mode:
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>2024-04-15 18:22:00 (GMT)
committerGitHub <noreply@github.com>2024-04-15 18:22:00 (GMT)
commit3375282bb894347b73c11752f0797d90dadaf465 (patch)
tree1dfae89f14c8182dfbe053ea39b3b181bcc8c501 /Doc/howto/curses.rst
parent78da15406705f88ffa79dafac491fb93b373e8e9 (diff)
downloadcpython-3375282bb894347b73c11752f0797d90dadaf465.zip
cpython-3375282bb894347b73c11752f0797d90dadaf465.tar.gz
cpython-3375282bb894347b73c11752f0797d90dadaf465.tar.bz2
Docs: add link roles with Sphinx extlinks (#117850)
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
Diffstat (limited to 'Doc/howto/curses.rst')
-rw-r--r--Doc/howto/curses.rst8
1 files changed, 3 insertions, 5 deletions
diff --git a/Doc/howto/curses.rst b/Doc/howto/curses.rst
index 4828e2f..f9ad81e 100644
--- a/Doc/howto/curses.rst
+++ b/Doc/howto/curses.rst
@@ -43,7 +43,7 @@ appearance---and the curses library will figure out what control codes
need to be sent to the terminal to produce the right output. curses
doesn't provide many user-interface concepts such as buttons, checkboxes,
or dialogs; if you need such features, consider a user interface library such as
-`Urwid <https://pypi.org/project/urwid/>`_.
+:pypi:`Urwid`.
The curses library was originally written for BSD Unix; the later System V
versions of Unix from AT&T added many enhancements and new functions. BSD curses
@@ -56,8 +56,7 @@ versions of curses carried by some proprietary Unixes may not support
everything, though.
The Windows version of Python doesn't include the :mod:`curses`
-module. A ported version called `UniCurses
-<https://pypi.org/project/UniCurses>`_ is available.
+module. A ported version called :pypi:`UniCurses` is available.
The Python curses module
@@ -429,8 +428,7 @@ User Input
The C curses library offers only very simple input mechanisms. Python's
:mod:`curses` module adds a basic text-input widget. (Other libraries
-such as `Urwid <https://pypi.org/project/urwid/>`_ have more extensive
-collections of widgets.)
+such as :pypi:`Urwid` have more extensive collections of widgets.)
There are two methods for getting input from a window: