]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-130169: Fix broken list markup in `Doc/c-api/function.rst` (#130174)
authorStan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Sun, 16 Feb 2025 10:55:31 +0000 (10:55 +0000)
committerGitHub <noreply@github.com>
Sun, 16 Feb 2025 10:55:31 +0000 (13:55 +0300)
Doc/c-api/function.rst

index e7fb5090c0993399870abda8bc4dfba9cb94f1e5..58792edeed25e3df582c4108e3b577c571f35fc6 100644 (file)
@@ -145,12 +145,13 @@ There are a few functions specific to Python functions.
 
 .. c:type:: PyFunction_WatchEvent
 
-   Enumeration of possible function watcher events:
-   - ``PyFunction_EVENT_CREATE``
-   - ``PyFunction_EVENT_DESTROY``
-   - ``PyFunction_EVENT_MODIFY_CODE``
-   - ``PyFunction_EVENT_MODIFY_DEFAULTS``
-   - ``PyFunction_EVENT_MODIFY_KWDEFAULTS``
+    Enumeration of possible function watcher events:
+
+    - ``PyFunction_EVENT_CREATE``
+    - ``PyFunction_EVENT_DESTROY``
+    - ``PyFunction_EVENT_MODIFY_CODE``
+    - ``PyFunction_EVENT_MODIFY_DEFAULTS``
+    - ``PyFunction_EVENT_MODIFY_KWDEFAULTS``
 
    .. versionadded:: 3.12