Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Make docstring help more friendly to subclasses #12

@frotaur

Description

@frotaur

Currently, the help displayed in the PyCA GUI is pulled from the docstrings of the automaton, as well as the process_event method.

However, if one has a main class A, which is then inherited by B, and B extends the process_event with further processing, ONLY the docstring of B will be displayed as help. This should not be the case, rather it should display the docstring of A, concatenated with the docstring of B.

I am not sure if there is a good way to do this automatically, or even if we should.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions