This surprised me on two levels:RESUME occurs at the start of every function (and some other places), and is only used for some internal interpreter bookkeeping. It is documented at https://docs.python.org/3.11/library/dis.html#opcode-RESUME
- first I have never seen the RESUME opcode and it is currently not documented