Issue 2631: IMPORT_NAME Documentation is incomplete

Issue2631

Created on 2008-04-14 18:22 by pib, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg65471 - (view) Author: Paul Bonser (pib) Date: 2008-04-14 18:22
The documentation for IMPORT_NAME at
http://docs.python.org/lib/bytecodes.html doesn't mention the fact that
the instruction requires two parameters to be on the stack.

TOS and TOS1 should map to the fromlist and level parameters to the
builtin function __import__, respectively.
msg65634 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-04-19 16:59
Fixed in r62392.
History
Date User Action Args
2022-04-11 14:56:33adminsetgithub: 46883
2008-04-19 16:59:38georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg65634
2008-04-14 18:22:10pibcreate