]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
fix bullet-list in `LOAD_SUPER_ATTR` documentation on `dis` page (#113461)
authordenballakh <47365157+denballakh@users.noreply.github.com>
Sun, 24 Dec 2023 20:28:39 +0000 (23:28 +0300)
committerGitHub <noreply@github.com>
Sun, 24 Dec 2023 20:28:39 +0000 (12:28 -0800)
Doc/library/dis.rst

index 5647021d6a9ba6b7b1bd99cd63e31896f6efac4a..5823142cc75998042a14e5398f494413750317ff 100644 (file)
@@ -1214,9 +1214,10 @@ iterations of the loop.
    ``super(cls, self).method()``, ``super(cls, self).attr``).
 
    It pops three values from the stack (from top of stack down):
-   - ``self``: the first argument to the current method
-   -  ``cls``: the class within which the current method was defined
-   -  the global ``super``
+
+   * ``self``: the first argument to the current method
+   * ``cls``: the class within which the current method was defined
+   * the global ``super``
 
    With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`,
    except that ``namei`` is shifted left by 2 bits instead of 1.