You've already forked python-uncompyle6
mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-08-03 00:45:53 +08:00
17 lines
357 B
Python
17 lines
357 B
Python
# Python 3.2 Bug from abc.py
|
|
|
|
# Make sure we handle:
|
|
|
|
# LOAD_FAST '__locals__'
|
|
# STORE_LOCALS ''
|
|
|
|
# Note this is similar to 05_abc_class.py but not the same:
|
|
# object -> classmethod
|
|
|
|
class abstractclassmethod(object):
|
|
"""A Python 3.2 STORE_LOCALS bug
|
|
"""
|
|
|
|
def __init__(self, callable):
|
|
callable.__isabstractmethod__ = True
|