Skip to content

Commit 8ec86ee

Browse files
committed
Fix bullet list indentation
1 parent 9cefbaa commit 8ec86ee

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

Doc/library/annotationlib.rst

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -521,22 +521,24 @@ an :term:`annotate function`.
521521
To provide the :attr:`~Format.VALUE`, :attr:`~Format.STRING`, or
522522
:attr:`~Format.FORWARDREF` formats directly, an :term:`annotate function` must provide
523523
the following attribute:
524+
524525
* A callable ``__call__`` with signature ``__call__(format, /) -> dict``, that does not
525-
raise a :err:`NotImplementedError` when called with a supported format.
526+
raise a :exc:`NotImplementedError` when called with a supported format.
526527

527528
To provide the :attr:`~Format.VALUE_WITH_FAKE_GLOBALS` format, which is used to
528529
automatically generate :attr:`~Format.STRING` or :attr:`~Format.FORWARDREF` if they are
529530
not supported directly, :term:`annotate functions <annotate function>` must provide the
530531
following attributes:
532+
531533
* A callable ``__call__`` with signature ``__call__(format, /) -> dict``, that does not
532-
raise a :err:`NotImplementedError` when called with
533-
:attr:`~Format.VALUE_WITH_FAKE_GLOBALS`.
534+
raise a :exc:`NotImplementedError` when called with
535+
:attr:`~Format.VALUE_WITH_FAKE_GLOBALS`.
534536
* A :ref:`code object <code-objects>` ``__code__`` containing the compiled code for the
535-
annotate function.
537+
annotate function.
536538
* Optional: A tuple of the function's positional defaults ``__kwdefaults__``, if the
537-
function represented by ``__code__`` uses any positional defaults.
539+
function represented by ``__code__`` uses any positional defaults.
538540
* Optional: A dict of the function's keyword defaults ``__defaults__``, if the function
539-
represented by ``__code__`` uses any keyword defaults.
541+
represented by ``__code__`` uses any keyword defaults.
540542
* Optional: All other :ref:`function attributes <inspect-types>`.
541543

542544
.. code-block:: python

0 commit comments

Comments
 (0)