Skip to content

PythonDomain.resolve_xref incorrectly matches ivars to class methodsΒ #2549

@paulromano

Description

@paulromano

This issue was originally described in a stackoverflow post and has gone unanswered for a while. If an :ivar: has the same name as a method in a different class, a cross reference is incorrectly created. Furthermore, if two classes have methods of the same name as the :ivar:, a warning is raised saying:
WARNING: more than one target found for cross-reference ...

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions