Skip to content

[3.15] gh-157546: Add missing docstrings in curses (GH-157547) - #157903

Open
serhiy-storchaka wants to merge 1 commit into
python:3.15from
serhiy-storchaka:backport-b1e2766-3.15
Open

serhiy-storchaka wants to merge 1 commit into
python:3.15from
serhiy-storchaka:backport-b1e2766-3.15

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Sep 21, 2026

Copy link
Copy Markdown
Member

The Python wrappers initscr() and start_color() now use the docstrings of the wrapped C functions. Also "WindowObject" in the initscr() docstring is replaced with "window object".

The newterm() wrapper and the screen type do not exist in this branch.
(cherry picked from commit b1e2766)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

…7547)

The Python wrappers initscr() and start_color() now use the docstrings
of the wrapped C functions.
(cherry picked from commit b1e2766)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchaka

Copy link
Copy Markdown
Member Author

Only backported to 3.15: 3.13 and 3.14 lack several other docstrings (the window and panel types, the error exceptions), while the type docstrings were backported to the not yet released 3.15, so only these two functions are missing there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant