diff options
author | denballakh <47365157+denballakh@users.noreply.github.com> | 2023-12-24 20:28:39 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-24 20:28:39 (GMT) |
commit | f7c5a7a0f9f8186a7fdc8b721468d022fe310b04 (patch) | |
tree | c2e1a80a2e522e176c8a0d1537d91078c3e78bcd /Doc/library/dis.rst | |
parent | 9a35794fcbe994f0eb36c32d8f24d307837c9412 (diff) | |
download | cpython-f7c5a7a0f9f8186a7fdc8b721468d022fe310b04.zip cpython-f7c5a7a0f9f8186a7fdc8b721468d022fe310b04.tar.gz cpython-f7c5a7a0f9f8186a7fdc8b721468d022fe310b04.tar.bz2 |
fix bullet-list in `LOAD_SUPER_ATTR` documentation on `dis` page (#113461)
Diffstat (limited to 'Doc/library/dis.rst')
-rw-r--r-- | Doc/library/dis.rst | 7 |
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. |