Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
Open
Description
Documentation
When exploring the Cmd Python library, I realized that there is no documentation forprint_topics
method.
I only realized the missing documentation because I noticed thatprint_topics
method has an unused parameter calledcmdlen
, and I couldn't figure out if it is actually useful for something.
I could also notice that on typeshed it is typed asAny
, even though it seems to be only used as anint
.
Extra doubts:
Maybeprint_topics
should be renamed to_print_topics
or we should document how to use it properly?
Also, is thatcmdlen
parameter really needed?
I am willing to contribute with that, but I don't know which type of issue I should open to report an unused param.
Links:
- Cmd documentation:https://docs.python.org/3.13/library/cmd.html
- Cdm.print_topics definition:https://github.com/python/cpython/blob/main/Lib/cmd.py#L346
- typeshed:https://github.com/python/typeshed/blob/main/stdlib/cmd.pyi#L45
Linked PRs
Metadata
Metadata
Assignees
Projects
Status
Todo