You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
10 lines
311 B
Python
10 lines
311 B
Python
# Ensure PyPy handling of:
|
|
# key, value in slotstate.items().
|
|
# PyPy uses LOOKUP_METHOD and CALL_METHOD instead
|
|
# of LOAD_ATTR and CALL_FUNCTION
|
|
def bug(state, slotstate):
|
|
if state:
|
|
if slotstate is not None:
|
|
for key, value in slotstate.items():
|
|
setattr(state, key, 2)
|