diff --git a/deferrer/_defer.py b/deferrer/_defer.py index 1fe97d3..cfa5b1d 100644 --- a/deferrer/_defer.py +++ b/deferrer/_defer.py @@ -158,8 +158,6 @@ def __bool__() -> Literal[False]: ) dummy_code_bytes += bytes([Opcode.COPY_FREE_VARS, n_free_vars]) - dummy_code_bytes += bytes([Opcode.RESUME, 0]) - # If the original function has local variables, pass their current values by # appending these values to constants and using some instruction pairs of # "LOAD_CONST" and "STORE_FAST".