(code_object, context)
| 140 | |
| 141 | |
| 142 | def getCodeObjectAccessCode(code_object, context): |
| 143 | if isExperimental("new-code-objects"): |
| 144 | return ( |
| 145 | "USE_CODE_OBJECT(tstate, %s, module_filename_obj)" |
| 146 | % context.getConstantCode(code_object) |
| 147 | ) |
| 148 | else: |
| 149 | return context.getCodeObjectHandle(code_object) |
| 150 | |
| 151 | |
| 152 | # Part of "Nuitka", an optimizing Python compiler that is compatible and |
no test coverage detected
searching dependent graphs…