Skip to content

incorrect parsing of numpy.ma.core:MaskedArray.resize docstring by numpydoc. #361

Open
@Carreau

Description

@Carreau

The docstring is:

.. warning::

    This method does nothing, except raise a ValueError exception. A
    masked array does not own its data and therefore cannot safely be
    resized in place. Use the `numpy.ma.resize` function instead.

This method is difficult to implement safely and may be deprecated in
future releases of NumPy.

This leads to a split of .. warning:: to be alone in its own section.

It does not seem to be critical for sphinx as it "reassemble" the "Summary" and "Extended summary", but maybe we can fix that upstream ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    parsingupstreamIssues related to upstream projects

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions