Skip to content

docstrings with leading whitespace not output for help() #5

Description

@simon-weber

This will output a terse help entry:

@Bot.command
def foo():
    """Usage: foo
    """
    ...

But this won't:

@Bot.command
def foo():
    """
    Usage: foo
    """
    ...

The latter should also be supported.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions