New submission from glubs9 email@example.com:
in the dis library documentation where it lists all of the instructions in python bytecode, it includes a small sentence about half way dow "all of the following instructions use their arguments".
After this sentence there is an instruction specified LIST_TO_TUPLE which does not in fact use its argument.
It's a minor mistake but 100% on how it should be fixed so I have not yet made a pr. It could be fixed by removing the sentence or just moving it above the sentence. I'm not sure.
---------- assignee: docs@python components: Documentation messages: 394178 nosy: docs@python, glubs9 priority: normal severity: normal status: open title: LIST_TO_TUPLE placed below the sentence "all of the following use their opcodes" in dis library documentaiton. type: enhancement versions: Python 3.11
glubs9 firstname.lastname@example.org added the comment:
actually now that I am going through the documentation a bit more thoroughly this has happened again, dict_merge is placed below the sentence as well.
Change by Andrei Kulakov email@example.com:
---------- keywords: +patch nosy: +andrei.avk nosy_count: 2.0 -> 3.0 pull_requests: +25436 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26859
Andrei Kulakov firstname.lastname@example.org added the comment:
I think the arg to dict_merge was just missing, I've put up a PR that adds it.
Irit Katriel email@example.com added the comment:
The "all of the following.. " sentence has been removed in 3.11.
---------- nosy: +iritkatriel resolution: -> out of date stage: patch review -> resolved status: open -> closed