Skip to content

Modify documentation of cmd.Cmd to indicate subtle behaviours #144338

@pythonhacker

Description

@pythonhacker

Documentation

This is w.r.t the issue #143804

It was pointed out it is not a bug (agreed) but we can improve the documentation of this module
since it is now not very clear that

  • One has to over-ride "emptyline" so that the last line is not repeated
  • One has to over-ride do_EOF to quit cleanly

A tutorial on this in the documentation would be helpful as right now these are at the level of method level documentation and quite unclear at the usage level.

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirtriagedThe issue has been accepted as valid by a triager.

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions