We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05c619c commit 9bd40a4Copy full SHA for 9bd40a4
1 file changed
bcc_info.py
@@ -86,7 +86,7 @@ def parse_pyarmor_data(code_obj, bcc_list: list[tuple[int, str]]) -> Optional[tu
86
print(" Constants:")
87
for i, c in enumerate(code_obj.co_consts[const_index + 1]):
88
print(f" {i + 3}: {c}")
89
- if isinstance(const, type((lambda: None).__code__)):
+ if isinstance(c, type((lambda: None).__code__)):
90
bcc_consts.append(str(c))
91
else:
92
bcc_consts.append(c)
0 commit comments