sphinx-tutorial/py-example/docs/source/_templates/autosummary/attribute.rst

14 lines
357 B
ReStructuredText
Raw Normal View History

2024-01-25 11:33:17 +01:00
:orphan:
{{ fullname | escape | underline}}
.. currentmodule:: {{ module }}
attribute
.. auto{{ objtype }}:: {{ fullname | replace("numpy.", "numpy::") }}
{# In the fullname (e.g. `numpy.ma.MaskedArray.methodname`), the module name
is ambiguous. Using a `::` separator (e.g. `numpy::ma.MaskedArray.methodname`)
specifies `numpy` as the module name. #}