Skip to content

Docstring for __new__ not shown #572

@thomasballinger

Description

@thomasballinger

It'd be nice to show the arguments __new__ takes here:

>>> import blessed
>>> blessed.sequences.Sequence.__new__.__doc__
'\n        Class constructor.\n\n        :arg sequence_text: A string that may contain sequences.\n        :arg blessed.Terminal term: :class:`~.Terminal` instance.\n    '
>>> blessed.sequences.Sequence(
┌──────────────────────────────────────────────────────────────────┐
│ Sequence                                                         │
│ SequenceTextWrapper                                              │
└──────────────────────────────────────────────────────────────────┘

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions