Skip to main content
Journey Uncommon Logo
JourneyUncommon
hardPythonCPython bytecode and disSingle-choice MCQ

Under PEP 659's specializing adaptive interpreter, after warming up this function, what does the BINARY_OP instruction become, and what happens if it is later called with two strings?

def add(a, b): return a + b for _ in range(1000): add(1, 2)