Skip to content

Commit 9cefbaa

Browse files
committed
Actually use dot points where intended in custom callable doc
1 parent 028e0f9 commit 9cefbaa

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

Doc/library/annotationlib.rst

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -519,25 +519,25 @@ the encapsulation provided by classes, in which case any :term:`callable` can be
519519
an :term:`annotate function`.
520520

521521
To provide the :attr:`~Format.VALUE`, :attr:`~Format.STRING`, or
522-
:attr:`~Format.FORWARDREF` formats directly, an :ref:`annotate function` must provide
522+
:attr:`~Format.FORWARDREF` formats directly, an :term:`annotate function` must provide
523523
the following attribute:
524-
- A callable ``__call__`` with signature ``__call__(format, /) -> dict``, that does not
524+
* A callable ``__call__`` with signature ``__call__(format, /) -> dict``, that does not
525525
raise a :err:`NotImplementedError` when called with a supported format.
526526

527527
To provide the :attr:`~Format.VALUE_WITH_FAKE_GLOBALS` format, which is used to
528528
automatically generate :attr:`~Format.STRING` or :attr:`~Format.FORWARDREF` if they are
529529
not supported directly, :term:`annotate functions <annotate function>` must provide the
530530
following attributes:
531-
- A callable ``__call__`` with signature ``__call__(format, /) -> dict``, that does not
531+
* A callable ``__call__`` with signature ``__call__(format, /) -> dict``, that does not
532532
raise a :err:`NotImplementedError` when called with
533533
:attr:`~Format.VALUE_WITH_FAKE_GLOBALS`.
534-
- A :ref:`code object <code-objects>` ``__code__`` containing the compiled code for the
534+
* A :ref:`code object <code-objects>` ``__code__`` containing the compiled code for the
535535
annotate function.
536-
- Optional: A tuple of the function's positional defaults ``__kwdefaults__``, if the
536+
* Optional: A tuple of the function's positional defaults ``__kwdefaults__``, if the
537537
function represented by ``__code__`` uses any positional defaults.
538-
- Optional: A dict of the function's keyword defaults ``__defaults__``, if the function
538+
* Optional: A dict of the function's keyword defaults ``__defaults__``, if the function
539539
represented by ``__code__`` uses any keyword defaults.
540-
- Optional: All other :ref:`function attributes <inspect-types>`.
540+
* Optional: All other :ref:`function attributes <inspect-types>`.
541541

542542
.. code-block:: python
543543

0 commit comments

Comments
 (0)