3
/*ä^“  ã               @   s¤   d Z ddlmZ ddlmZ ddlmZ ejZG dd„ deƒZ	e
dkr ddlmZ ed	kr”dd
lZejƒ jZe	ƒ jeƒ\ZZx"eD ]Zeeƒ q‚W nede ƒ d
S )zì
Python 3.5 bytecode decompiler scanner

Does some additional massaging of xdis-disassembled instructions to
make things easier for decompilation.

This sets up opcodes Python's 3.5 and calls a generalized
scanner routine for Python 3.
é    )Úprint_function)ÚScanner3)Ú	opcode_35c               @   s   e Zd Zddd„ZdS )Ú	Scanner35NFc             C   s   t j| d||ƒ d S )Ng      @)r   Ú__init__)ÚselfZshow_asmZis_pypy© r   úZ/home/psgendb/BIRCHDEV/python/lib/python3.6/site-packages/uncompyle6/scanners/scanner35.pyr   #   s    zScanner35.__init__)NF)Ú__name__Ú
__module__Ú__qualname__r   r   r   r   r	   r   !   s   
r   Ú__main__)ÚPYTHON_VERSIONg      @Nz'Need to be Python 3.5 to demo; I am %s.)Ú__doc__Ú
__future__r   Zuncompyle6.scanners.scanner3r   Zxdis.opcodesr   ZopcZJUMP_OPSr   r
   Ú
uncompyle6r   ÚinspectÚcurrentframeÚf_codeÚcoZingestÚtokensZ	customizeÚtÚprintr   r   r   r	   Ú<module>   s    

