ó
ž^Yc           @   s,   d  Z  d d l Z d e f d     YZ d S(   s%   Bytecode manipulation for coverage.pyi˙˙˙˙Nt   CodeObjectsc           B   s    e  Z d  Z d   Z d   Z RS(   s,   Iterate over all the code objects in `code`.c         C   s   | g |  _  d  S(   N(   t   stack(   t   selft   code(    (    s3   /tmp/pip-build-hU8Cw8/coverage/coverage/bytecode.pyt   __init__   s    c         c   sa   xZ |  j  r\ |  j  j   } x6 | j D]+ } t | t j  r% |  j  j |  q% q% W| Vq Wd  S(   N(   R   t   popt	   co_constst
   isinstancet   typest   CodeTypet   append(   R   R   t   c(    (    s3   /tmp/pip-build-hU8Cw8/coverage/coverage/bytecode.pyt   __iter__   s    (   t   __name__t
   __module__t   __doc__R   R   (    (    (    s3   /tmp/pip-build-hU8Cw8/coverage/coverage/bytecode.pyR    	   s   	(   R   R   t   objectR    (    (    (    s3   /tmp/pip-build-hU8Cw8/coverage/coverage/bytecode.pyt   <module>   s   