aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/_pyrepl/_minimal_curses.py
diff options
context:
space:
mode:
authorAlex Waygood <Alex.Waygood@Gmail.com>2024-05-17 06:13:24 -0400
committerGitHub <noreply@github.com>2024-05-17 06:13:24 -0400
commit033f5c87f1f876088701d1ae078dc39c41177d4a (patch)
tree57d3fd3f666e134605e9ad2d8d9469df5a9942cd /Lib/_pyrepl/_minimal_curses.py
parent100c7ab00ab66a8c0d54582f35e38d8eb691743c (diff)
downloadcpython-033f5c87f1f876088701d1ae078dc39c41177d4a.tar.gz
cpython-033f5c87f1f876088701d1ae078dc39c41177d4a.zip
Improve `pyrepl` type-annotation coverage (#119081)
Diffstat (limited to 'Lib/_pyrepl/_minimal_curses.py')
-rw-r--r--Lib/_pyrepl/_minimal_curses.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/_pyrepl/_minimal_curses.py b/Lib/_pyrepl/_minimal_curses.py
index 0757fb2c664..849617bf758 100644
--- a/Lib/_pyrepl/_minimal_curses.py
+++ b/Lib/_pyrepl/_minimal_curses.py
@@ -17,7 +17,7 @@ class error(Exception):
pass
-def _find_clib():
+def _find_clib() -> str:
trylibs = ["ncursesw", "ncurses", "curses"]
for lib in trylibs: