From f7c5a7a0f9f8186a7fdc8b721468d022fe310b04 Mon Sep 17 00:00:00 2001 From: denballakh <47365157+denballakh@users.noreply.github.com> Date: Sun, 24 Dec 2023 23:28:39 +0300 Subject: fix bullet-list in `LOAD_SUPER_ATTR` documentation on `dis` page (#113461) --- Doc/library/dis.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Doc/library/dis.rst b/Doc/library/dis.rst index 5647021..5823142 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. -- cgit v0.12