Skip to content

Allow customizing the "self" reference #11

@johnpmcconnell

Description

@johnpmcconnell

THANK YOU! This is pretty much exactly what I was looking for.

Currently, this plug in generates "signatures" (for lack of a better term) that use the name self to reference the object. It would improve the output if we could customize this name somehow. A couple of ways of doing it that I can think of:

  • Define a directive or parameter that's read from the docstring.
  • Pick up on names other than self from the code.

I'd prefer to explicitly declare the name in the docstring, personally. self is a very strong naming convention that I wouldn't want to violate.

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