Use xdis pattr extraction for LOAD_NAME

This commit is contained in:
rocky
2023-04-15 07:28:21 -04:00
parent 551e428086
commit ad00b9a4ee
2 changed files with 10 additions and 2 deletions

View File

@@ -0,0 +1,7 @@
# Bug was erroneously putting quotes around Exception on decompilatoin
# RUNNABLE!
"""This program is self-checking!"""
z = ["y", Exception]
assert z[0] == "y"
assert isinstance(z[1], Exception)