bpo-37999: Simplify the conversion code for %c, %d, %x, etc. by serhiy-storchaka · Pull Request #20437 · python/cpython

Conversation

Since PyLong_AsLong() no longer use __int__, explicit call
of PyNumber_Index() before it is no longer needed.

mdickinson

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Labels