Skip to content

attribute names with trailing underscores are not references #62

Closed
@amueller

Description

@amueller

This is more of a question.
In scikit-learn we name out attributes with trailing underscores like

Attributes
==========
bla_ : ndarray
   Nothing useful

I remember that at some point, we needed to enclose the attribute in backticks to not get an error about undefined references. Then at some point, we didn't need to do that any more. I just upgraded us to numpydoc master, and now I have to add the backticks in a gain.
Were there any intentional changes in that? It's also possible that we hacked this somewhere ourselves, but I can't find the relevant change in the code :(

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions