Skip to content

Commit

Permalink
DOC Use .. deprecated for deprecation instead of .. note (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
jnothman committed Oct 31, 2017
1 parent 778fcc1 commit 9898954
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/format.rst
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ The sections of the docstring are:

* New recommended way of obtaining the same functionality.

This section should use the note Sphinx directive instead of an
This section should use the ``deprecated`` Sphinx directive instead of an
underlined section header.

::

.. note:: Deprecated in NumPy 1.6.0
.. deprecated:: 1.6.0
`ndobj_old` will be removed in NumPy 2.0.0, it is replaced by
`ndobj_new` because the latter works also with array subclasses.

Expand Down

0 comments on commit 9898954

Please sign in to comment.