Skip to content

curses.__version__ documented but does not exist #140606

@onerandomusername

Description

@onerandomusername

Documentation

curses.__version__ has not existed in any stable python version, and can be removed from the documentation.
https://docs.python.org/3/library/curses.html#curses.__version__

~ uvx python@3.14 -c 'import curses ; curses.__version__'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'curses' has no attribute '__version__'

(same results for py 3.8 through 3.14)

If I'm not stepping on anyone's toes, I would like to make the PR to fix this as my first PR to cpython, once a course of action is agreed upon. I believe it would just be removing curses.__version__ from the documentation, and I don't think it needs a changenote as the attribute hasn't existed for a while.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc direasytype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions