summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Doc/library/dis.rst7
1 files 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.