Skip to content

Commit

Permalink
Doc: Put builtin functions' attributes in alphabetic order
Browse files Browse the repository at this point in the history
  • Loading branch information
adorilson committed Dec 30, 2023
1 parent a1a8231 commit c6ed4e6
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Doc/reference/datamodel.rst
Original file line number Diff line number Diff line change
Expand Up @@ -824,6 +824,10 @@ Special read-only attributes
- The function's documentation string, or ``None`` if unavailable.
See :attr:`function.__doc__`.

* - .. attribute:: builtin_function.__module__
- The name of the module the function was defined in,
or ``None`` if unavailable. See :attr:`function.__module__`.

* - .. attribute:: builtin_function.__name__
- The function's name.
See :attr:`function.__name__`.
Expand All @@ -835,9 +839,6 @@ Special read-only attributes
* - .. attribute:: builtin_function.__self__
- It is set to ``None`` (but see :ref:`built-in methods <builtin-methods>`).

* - .. attribute:: builtin_function.__module__
- The name of the module the function was defined in,
or ``None`` if unavailable. See :attr:`function.__module__`.

.. _builtin-methods:

Expand Down

0 comments on commit c6ed4e6

Please sign in to comment.