Skip to content

Commit

Permalink
Make Quantity, Unit and Measurement show inherited members
Browse files Browse the repository at this point in the history
  • Loading branch information
hgrecco committed Oct 27, 2022
1 parent 9eecc1f commit 52b616e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions docs/api/base.rst
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,15 @@ Most important classes

.. autoclass:: Quantity
:members:
:inherited-members:

.. autoclass:: Unit
:members:
:inherited-members:

.. autoclass:: Measurement
:members:

:inherited-members:

Exceptions and warnings
-----------------------
Expand Down Expand Up @@ -55,7 +57,7 @@ Exceptions and warnings

Sharing registry among packages
-------------------------------
,

.. autofunction:: get_application_registry
.. autofunction:: set_application_registry

Expand Down
2 changes: 1 addition & 1 deletion docs/getting/tutorial.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ Pint will complain if you try to use a unit which is not in the registry:
You can add your own units to the existing registry, or build your own list.
See the page on :ref:`defining` for more information on that.

See `String parsing`_ and :ref:`Defining Quantities`_ for more ways of defining
See `String parsing`_ and :ref:`Defining Quantities` for more ways of defining
a ``Quantity()`` object.

``Quantity()`` objects also work well with NumPy arrays, which you can
Expand Down

0 comments on commit 52b616e

Please sign in to comment.