mirror of
https://github.com/python/cpython.git
synced 2025-08-02 16:13:13 +00:00
gh-93382: Sync up co_code
changes with 3.11 (GH-94227)
Sync up co_code changes with 3.11 commit 852b4d4bcd
.
This commit is contained in:
parent
a91ffcf3fa
commit
50a5ab2c0b
4 changed files with 5 additions and 3 deletions
|
@ -274,6 +274,7 @@ class Printer:
|
|||
self.write(f".co_name = {co_name},")
|
||||
self.write(f".co_qualname = {co_qualname},")
|
||||
self.write(f".co_linetable = {co_linetable},")
|
||||
self.write(f"._co_code = NULL,")
|
||||
self.write("._co_linearray = NULL,")
|
||||
self.write(f".co_code_adaptive = {co_code_adaptive},")
|
||||
for i, op in enumerate(code.co_code[::2]):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue