From: denballakh <47365157+denballakh@users.noreply.github.com> Date: Sun, 24 Dec 2023 20:28:39 +0000 (+0300) Subject: fix bullet-list in `LOAD_SUPER_ATTR` documentation on `dis` page (#113461) X-Git-Tag: v3.13.0a3~264 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f7c5a7a0f9f8186a7fdc8b721468d022fe310b04;p=thirdparty%2FPython%2Fcpython.git fix bullet-list in `LOAD_SUPER_ATTR` documentation on `dis` page (#113461) --- diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 5647021d6a9b..5823142cc759 100644 --- a/Doc/library/dis.rst +++ b/Doc/library/dis.rst @@ -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.