Skip to content

Documentation of arange - format inconsistency with the rest of the documentation? #18563

Closed
@hengzhan

Description

@hengzhan

Documentation

Hi, I have some question about the documentation page of np.arange(). Apologies if they are dumb ones.
image

  1. Why BNF is used in this page, i.e. why are there square brackets in the function signature? I think this only happens to arange()
  2. Why are dtype and like not labelled as optional? How are they different from the other arguments?

Thanks!

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