Skip to content

[pyreverse] Dunder methods in diagrams #9805

Open
@kidq330

Description

@kidq330

Current problem

I'm using pyreverse to visualize the structure of sympy which is a fairly large project, with a lot of relations modelled by classes, but also some functionality like iterators implemented via dunder methods.

I understand the decision behind not including private methods, but some of the special dunder methods, I'd argue, are part of the public API of an object and so they should be included in the diagram, wdyt?

Desired solution

Special methods (__next__, __iter__, __str__ etc.)should show up in diagrams as member methods, just like public methods do now

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions