Skip to content

Commit f7c5a7a

Browse files
authored
fix bullet-list in LOAD_SUPER_ATTR documentation on dis page (#113461)
1 parent 9a35794 commit f7c5a7a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Doc/library/dis.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,9 +1214,10 @@ iterations of the loop.
12141214
``super(cls, self).method()``, ``super(cls, self).attr``).
12151215

12161216
It pops three values from the stack (from top of stack down):
1217-
- ``self``: the first argument to the current method
1218-
- ``cls``: the class within which the current method was defined
1219-
- the global ``super``
1217+
1218+
* ``self``: the first argument to the current method
1219+
* ``cls``: the class within which the current method was defined
1220+
* the global ``super``
12201221

12211222
With respect to its argument, it works similarly to :opcode:`LOAD_ATTR`,
12221223
except that ``namei`` is shifted left by 2 bits instead of 1.

0 commit comments

Comments
 (0)