Code in question:
This confused me about the possible oparg values for CONVERT_VALUE.
#6132 Added FORMAT_SIMPLE that's what that value used to be for.
Even the docs don't specify a possible value of "0" as an oparg:
|
|
|
* ``oparg == 1``: call :func:`str` on *value* |
|
* ``oparg == 2``: call :func:`repr` on *value* |
|
* ``oparg == 3``: call :func:`ascii` on *value* |
|
|
Linked PRs
Code in question:
cpython/Include/ceval.h
Line 129 in c650b51
This confused me about the possible oparg values for
CONVERT_VALUE.#6132 Added
FORMAT_SIMPLEthat's what that value used to be for.Even the docs don't specify a possible value of "0" as an oparg:
cpython/Doc/library/dis.rst
Lines 1719 to 1723 in c650b51
Linked PRs
FVC_NONEdefinition #148996