
NXc           @  sB  d  Z  d d l m Z d d g Z d d l Z d d l Z d d l Z d d l m Z d d l	 Z	 d d l
 Z y d d l m Z Wn! e k
 r d d l m Z n Xd d	 l m Z d d
 l m Z d d l m Z d d l m Z d d l m
 Z
 d d l m Z d d l m Z d d l m Z d d l m Z d d l m Z d d l  m! Z! d d l" m# Z# m$ Z$ m% Z% d d l& m' Z' m( Z( m) Z) d d l* m+ Z+ e	 j, j- j  Z. e/ j0 j  Z1 d   e	 j2 e	 j3 e	 j, e4 f D Z5 e6 e7  Z8 e6 e9 j:  Z; e# Z< e$ d i e< j= d 6e< j= d 6 Z= e$ d i e< j> d 6e< j? d 6 Z@ e$ d i e< jA d 6e< j? d 6 ZB e% e= e@ eB g d  ZC d d d d  d! d" d# d$ d% d& d' d( d) d* d+ d, d- d. d/ d0 g ZD d1   ZE d2   ZF d3   ZG d4 d5  ZH d6   ZI d7   ZJ d8   ZK eL d9  ZM d:   ZN d;   ZO d<   ZP d d> d=     YZQ d S(?   s   Tools for inspecting Python objects.

Uses syntax highlighting for presenting the various information elements.

Similar in spirit to the inspect module, but all calls take a name argument to
reference the name under which an object is being read.
i(   t   print_functiont	   Inspectort   InspectColorsN(   t   dedent(   t   izip_longest(   t   zip_longest(   t   page(   t   pretty(   t   skip_doctest_py3(   t
   PyColorize(   t   io(   t   openpy(   t	   py3compat(   t   safe_hasattr(   t   compress_user(   t   indent(   t   list_namespace(   t
   TermColorst   ColorSchemet   ColorSchemeTable(   t   cast_unicodet   string_typest   PY3(   t	   signaturec         C  s   h  |  ] } t  j |   q S(    (   t   inspectt   getdoc(   t   .0t   t(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pys	   <setcomp>2   s   	 t   NoColort   headert   normalt   Linuxt   LightBGt	   type_namet
   base_classt   string_formt	   namespacet   lengtht   filet
   definitiont	   docstringt   sourcet   init_definitiont   class_docstringt   init_docstringt   call_deft   call_docstringt   ismagict   isaliast   isclasst   argspect   foundt   namec          K  s)   t  t t d g   } | j |   | S(   s1   Make an object info dict with all fields present.N(   t   dictR   t   info_fieldst   Nonet   update(   t   kwt   infodict(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   object_infoc   s    c         C  s   t  |   } | d k r d S| j d  r/ d St j j |  sE d St j | d   } t j	 | j
  \ } } Wd QX| Sd S(   sn   Get encoding for python source file defining obj

    Returns None if obj is not defined in a sourcefile.
    s   .sos   .dlls   .pydt   rbN(   s   .sos   .dlls   .pyd(   t	   find_fileR7   t   endswitht   ost   patht   isfilet	   stdlib_iot   openR   t   detect_encodingt   readline(   t   objt   ofilet   buffert   encodingt   lines(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   get_encodingj   s    c         C  s   y |  j    } Wn t k
 r# n Xt | t  r@ t j |  Sy2 t j  |   } t |   } t j | d | SWn t k
 r   d SXd S(   s8  Stable wrapper around inspect.getdoc.

    This can't crash because of attribute problems.

    It also attempts to call a getdoc() method on the given object.  This
    allows objects which provide their docstrings via non-standard mechanisms
    (like Pyro proxies) to still be inspected by ipython's ? system.RI   N(
   R   t	   Exceptiont
   isinstanceR   R   t   cleandocRK   R   R   R7   (   RF   t   dst   docstrRI   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyR      s    	t    c         C  s  t  |  t  rg  } x d d d g D] } t |  |  } | d k	 r% t |  } | rb d | n d } | j t d j d | | f  d |  t j	 |  r | j t
 t |    q | j t d | | t |  f d |  q% q% W| rd	 j |  Sd Sn t |   }  y t j |   } WnN t k
 rzt |  d
  r{y t j |  j  } Wqwt k
 rsd SXq{n Xt |   } t | d | Sd S(   sl  Wrapper around inspect.getsource.

    This can be modified by other projects to provide customized source
    extraction.

    Parameters
    ----------
    obj : object
        an object whose source code we will attempt to extract
    oname : str
        (optional) a name under which the object is known

    Returns
    -------
    src : unicode or None

    t   fgett   fsett   fdels   %s.RQ   s   # RI   s
   %s%s = %s
s   
t	   __class__N(   RM   t   propertyt   getattrR7   RK   t   appendR   t   joinR   t
   isfunctionR   t	   getsourceR   t   _get_wrappedt	   TypeErrort   hasattrRU   (   RF   t   onamet   sourcest   attrnamet   fnRI   t   oname_prefixt   src(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyR[      s<    	
	c         C  s:   t  j |   p9 t  j |   p9 t |  t  p9 t |  t  S(   s   True if obj is a function ()(   R   RZ   t   ismethodRM   t   _builtin_func_typet   _builtin_meth_type(   RF   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   is_simple_callable   s    c         C  sH   t  |  d  r( t |   r( |  j }  n  t r; t j |   St j |   S(   s   Wrapper around :func:`inspect.getfullargspec` on Python 3, and
    :func:inspect.getargspec` on Python 2.
    
    In addition to functions and methods, this can also handle objects with a
    ``__call__`` attribute.
    t   __call__(   R   Rh   Ri   R   R   t   getfullargspect
   getargspec(   RF   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyRk      s    c         C  s&   t  j |  d |  d |  d |  d  S(   s   Format argspect, convenience wrapper around inspect's.

    This takes a dict instead of ordered arguments and calls
    inspect.format_argspec with the arguments in the necessary order.
    t   argst   varargst   varkwt   defaults(   R   t   formatargspec(   R2   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   format_argspec   s    c         C  s   |  j  d  } | d k r$ d } na y | d d d k } Wn t t f k
 rU n X| rq | d d | d <n  |  d t |  } |  j  d  } | d k r |  j  d  } n  | d k r |  j  d	 d
  } n  | | f S(   sD  Extract call tip data from an oinfo dict.

    Parameters
    ----------
    oinfo : dict

    format_call : bool, optional
      If True, the call line is formatted and returned as a string.  If not, a
      tuple of (name, argspec) is returned.

    Returns
    -------
    call_info : None, str or (str, dict) tuple.
      When format_call is True, the whole call information is formattted as a
      single string.  Otherwise, the object's name and its argspec dict are
      returned.  If no call information is available, None is returned.

    docstring : str or None
      The most relevant docstring for calling purposes is returned, if
      available.  The priority is: call docstring for callable instances, then
      constructor docstring for classes, then main object's docstring otherwise
      (regular functions).
    R2   Rl   i    t   selfi   R4   R.   R,   R(   RQ   N(   t   getR7   t   KeyErrort
   IndexErrorRq   (   t   oinfot   format_callR2   t	   call_linet   has_selft   doc(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   call_tip   s     	c         C  s#   x t  |  d  r |  j }  q W|  S(   s=   Get the original object if wrapped in one or more @decoratorst   __wrapped__(   R   R|   (   RF   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyR\   /  s    c         C  s   t  |   }  d } y t j |   } WnS t k
 rt t |  d  r{ y t j |  j  } Wqq t k
 rm qq Xq{ n n Xt |  S(   s\  Find the absolute path to the file where an object was defined.

    This is essentially a robust wrapper around `inspect.getabsfile`.

    Returns None if no file can be found.

    Parameters
    ----------
    obj : any Python object

    Returns
    -------
    fname : str
      The absolute path to the file where the object was defined.
    RU   N(   R\   R7   R   t
   getabsfileR]   R^   RU   R   (   RF   t   fname(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyR=   5  s    
c         C  sx   t  |   }  y] y t j |   d } Wn? t k
 rg t |  d  r^ t j |  j  d } qh d } n XWn d SX| S(   sU  Find the line number in a file where an object was defined.

    This is essentially a robust wrapper around `inspect.getsourcelines`.

    Returns None if no file can be found.

    Parameters
    ----------
    obj : any Python object

    Returns
    -------
    lineno : int
      The line number where the object definition starts.
    i   RU   N(   R\   R   t   getsourcelinesR]   R^   RU   R7   (   RF   t   lineno(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   find_source_linesX  s    c           B  s   e  Z e e j d  d d  Z d d  Z d   Z d   Z d   Z	 d d  Z
 e d d d	   Z d d
  Z d d  Z d d  Z d d d d d  Z d d d d d  Z d d d d d  Z g  e e d  Z RS(   R   i    c         C  sJ   | |  _  t j | d d |  _ |  j j |  _ | |  _ |  j |  d  S(   Nt   outt   str(   t   color_tableR	   t   Parsert   parsert   formatt   str_detail_levelt   set_active_scheme(   Rr   R   t   code_color_tablet   schemeR   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   __init__z  s
    		RQ   c         C  s3   y$ | t  t |   } t |  SWn d SXd S(   s   Return the call signature for any callable object.

        If any exception is generated, None is returned instead and the
        exception is suppressed.N(   R   R   R   R7   (   Rr   RF   R_   t   hdef(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   _getdef  s
    c         C  s#   d |  j  j j | |  j  j j f S(   s*   Return a header string with proper colors.s   %s%s%s(   R   t   active_colorsR   R   (   Rr   t   h(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   __head  s    c         C  s'   |  j  j |  |  j j  j |  d  S(   N(   R   R   R   (   Rr   R   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyR     s    c         C  s6   t  d | d d | r+ t  d |  n t    d S(   s-   Generic message when no information is found.s   No %s foundt   endt    s   for %sN(   t   print(   Rr   t   msgR_   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   noinfo  s    c         C  s   t  |  s t d  d Sd } t j |  rJ |  j d  } | j } n+ t j ru t |  t	 j
 k ru | j } n  |  j | |  } | d k r |  j d |  n% t | |  j |  d d d t j d S(	   sw   Print the call signature for any callable object.

        If the object is a class, print the constructor information.s   Object is not callable.NRQ   s   Class constructor information:
s   definition headerR   R   R&   (   t   callableR   R   R1   t   _Inspector__headR   R   R   t   typet   typest   InstanceTypeRi   R   R7   R   R   R
   t   stdout(   Rr   RF   R_   R   t   output(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   pdef  s    
c   	      C  sG  |  j  } g  } t |  } | r0 | |  } n  | r_ | j | d   | j t |   n  t j |  r t | d  r t | j  } | d k	 r| j | d   | j t |   qnP t | d  rt | j	  } | r| j | d   | j t |   qn  | s-|  j
 d |  n t j d j |   d S(	   s  Print the docstring for any object.

        Optional:
        -formatter: a function to run the docstring through for specially
        formatted docstrings.

        Examples
        --------

        In [1]: class NoInit:
           ...:     pass

        In [2]: class NoDoc:
           ...:     def __init__(self):
           ...:         pass

        In [3]: %pdoc NoDoc
        No documentation found for NoDoc

        In [4]: %pdoc NoInit
        No documentation found for NoInit

        In [5]: obj = NoInit()

        In [6]: %pdoc obj
        No documentation found for obj

        In [5]: obj2 = NoDoc()

        In [6]: %pdoc obj2
        No documentation found for obj2
        s   Class docstring:R   s   Init docstring:Ri   s   Call docstring:t   documentations   
N(   R   R   RX   R   R   R1   R^   R   R7   Ri   R   R   RY   (	   Rr   RF   R_   t	   formattert   headRJ   RO   t   init_dst   call_ds(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   pdoc  s*    #	c         C  ss   t  j   y t | d | } Wn t k
 r9 d } n X| d k rY |  j d |  n t j |  j |   d S(   s$   Print the source code for an object.R_   R)   N(   t	   linecachet
   checkcacheR[   RL   R7   R   R   R   (   Rr   RF   R_   Rd   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   psource  s    

c         C  s   t  |  } | d k r, |  j d |  d St |  } | j d
  rX t d |  nO t j j |  s{ t d |  n, t	 j	 |  j
 t j | d t  | d	  d S(   s0   Show the whole file where an object was defined.R&   Ns   .sos   .dlls   .pyds    File %r is binary, not printing.s%   File %r does not exist, not printing.t   skip_encoding_cookiei   (   s   .sos   .dlls   .pyd(   R   R7   R   R=   R>   R   R?   R@   RA   R   R   R   t   read_py_filet   False(   Rr   RF   R_   R   RG   (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   pfile  s    c         C  s   g  } |  j  } | d k r4 t d   | D  } n  xy | D]q \ } } t | j    d k rv | | d  d } n | | d j |   } | j t |  t |   q; Wd j |  S(   s
  Formats a list of fields for display.

        Parameters
        ----------
        fields : list
          A list of 2-tuples: (field_title, field_content)
        title_width : int
          How many characters to pad titles to. Default to longest title.
        i    c         s  s%   |  ] \ } } t  |  d  Vq d S(   i   N(   t   len(   R   t   titlet   _(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pys	   <genexpr>%  s    i   t   :s   
(   R   t   maxR   t
   splitlinest   ljustRX   R   RY   (   Rr   t   fieldst   title_widthR   R   R   t   content(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   _format_fields  s    
	!c      
     sd  |  j  | d | d | d   d |   g      f d   }   d rY | d* g  n  d	 r | d
 k r   d d) k	 r | d+ g  n | d, g  | d- g  n  d s t |  r!| d. d/ g  | d
 k r   d d) k	 r | d0 g  n | d1 d2 g  | d3 d4 g  n(| d5 g  t j rtt | t j  rt  d rt j d   d j	   f  n  | d6 g    d d k r j d   d j	   f  n  | d7 d8 d9 g  | d
 k r	  d d) k	 r	 j d |  j
 t   d   f  n*   d d) k	 r3 j d   d f  n  | d: d; d< d= g   r\|  j   Sd( Sd) S(>   s   Format an info dict as textR_   R   t   infot   detail_levelc           sM   xF |  D]> \ } }   | } | d  k	 r  j | | j   f  q q Wd  S(   N(   R7   RX   t   rstrip(   R   R   t   keyt   field(   R   t   displayfields(    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt
   add_fields3  s    
R0   t   ReprR#   R/   i    R)   t   Sourcet	   DocstringR(   t   FileR&   R1   t	   SignatureR'   s   Init signatureR*   s   Init docstringR,   t   TypeR!   R"   s
   Base Classs   String formR$   t   Interactivet	   Namespacet   LengthR%   s   Class docstringR+   s   Call signatureR-   s   Call docstringR.   u    N(   R   R#   (   R   s   source(   R   s	   docstring(   R   s   file(   R   R'   (   s   Init signatureR*   (   R   s   source(   R   s	   docstring(   s   Init docstrings   init_docstring(   R   s   file(   R   R!   (   R   R!   (   s   String formR#   (   R   s   length(   R   s   file(   R   R'   (   s   Class docstringR+   (   s   Init docstrings   init_docstring(   s   Call signatures   call_def(   s   Call docstrings   call_docstring(   R   R7   Rh   R   R   RM   R   R   RX   R   R   R   R   (   Rr   RF   R_   R   R   R   R   (    (   R   R   sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   _format_info.  sR    



&  
	 
c         C  s5   |  j  | | | | |  } | r1 t j |  n  d S(   s  Show detailed information about an object.

        Optional arguments:

        - oname: name of the variable pointing to the object.

        - formatter: special formatter for docstrings (see pdoc)

        - info: a structure with some information fields which may have been
          precomputed already.

        - detail_level: if set to 1, more information is given.
        N(   R   R   (   Rr   RF   R_   R   R   R   t   text(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   pinfoz  s    c          C  sr  t  |  } | d0 k r- d } d } d }	 n | j } | j } | j }	 | r t |  s y d | d }
 Wq d t |  }
 q Xq d t |  }
 | j r |
 d | j 7}
 q n! t |  }
 |
 d0 k r d }
 n  | d0 k	 r | |
  }
 n  t	 d	 | d
 t
 d | d |  } d } t | d d  } | r?d } n | rNd } n	 | j } | | d <y | j } t |  | d <Wn n X| |  j k r-y t |  } d } | rt |  | k r| |  d | | } d d t | j    j d   | j d  D  } n  | | | <Wq-q-Xn  |	 r@|	 | d <n  y t t |   | d <Wn n Xt } t |  } | d0 k rt
 } n@ | j d1  rt
 } n | j d  rd } n  t |  | d  <| rCt j   yQ t | t  s| r+t | |  } | d0 k	 r| j   } n  | | d! <n  WqCt k
 r?qCXn  |
 rn| j d! d0  d0 k rn|
 | d" <n  t j  |  r&t
 | d# <y | j! } Wn t" k
 rd0 } } n4 X|  j# | |  } t |  } | t$ k rd0 } n  | s| r| r|  j% |  | d$ <n  | r#| | d% <q#qn|  j# | |  } | rT|  j% |  | d& <n  |
 ry t& | d'  } Wn d0 } n Xt |  } | t' k rd0 } n  | r|
 | k r| | d( <qn  y( t | j!  } | t$ k rd0 } n  Wn t" k
 rd0 } n X| r| | d% <n  t( | d)  rt) |  r|  j# | j* |  } | r|  j% |  } | | j d&  k r| | d* <qn  t | j*  } | t+ k rd0 } n  | r| | d+ <qn  t j  |  rt& | d, d0  } n t |  r| } n d0 } | rhy t, |  } Wn t- t" f k
 r(qhXt	 | j.    | d- <} d. | k rh| j/ d/  | d. <qhn  t0 |   S(2   s  Compute a dict with detailed information about an object.

        Optional arguments:

        - oname: name of the variable pointing to the object.

        - formatter: special formatter for docstrings (see pdoc)

        - info: a structure with some information fields which may have been
          precomputed already.

        - detail_level: if set to 1, more information is given.
        i    RQ   s!   Alias to the system command:
  %si   s   Alias: s	   Alias to s   
Docstring:
s   <no docstring>R4   R3   R0   R/   i   i   i   s   Magic functions   System aliasR!   R"   R#   s    <...> s   
R   c         s  s   |  ] } | j    Vq d  S(   N(   t   strip(   R   t   q(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pys	   <genexpr>  s    R$   R%   s   .sos   .dlls   .pyds   <string>s9   Dynamically generated function. No source code available.R&   R)   R(   R1   R*   R,   R'   RU   R+   Ri   R-   R.   R   R2   Rn   t   keywordsN(   s   .sos   .dlls   .pyd(1   R   R7   R/   R0   R$   R   R   t   __doc__R   R5   t   Truet   intt   __name__RU   R   R   t
   expandtabsRY   t   splitR   R=   R>   R   R   R   RM   RV   R[   R   RL   Rs   R   R1   R   t   AttributeErrorR   t   _object_init_docstringR   RW   t   _builtin_type_docstringsR   Rh   Ri   t   _func_call_docstringRk   R]   t   _asdictt   popR;   (    Rr   RF   R_   R   R   R   t   obj_typeR/   R0   t   ospaceRO   R   t
   string_maxt   shalft   obj_type_namet   bclasst   ostrt   str_headt   binary_fileR~   Rd   t   obj_initt   init_defR   t   deflnt   clst   class_dsR-   R   t   callable_objR2   t   argspec_dict(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyR     s   						!			
	  			

	
	
		c      	   C  sH  d } d } | j    } t |  }	 |	 d k r= | d } n+ |	 d k rX | \ } } n t d |   x9 | D]1 }
 |
 | k ro t d |
 | j   f   qo qo Wt   t   } } xn | D]f } | | } t |  | k r q n  | j t |   t | | | d | d	 | } | j |  q Wt	 j	 d
 j
 t |    d S(   sM  Search namespaces with wildcards for objects.

        Arguments:

        - pattern: string containing shell-like wildcards to use in namespace
          searches and optionally a type specification to narrow the search to
          objects of that type.

        - ns_table: dict of name->namespaces for search.

        Optional arguments:

          - ns_search: list of namespace names to include in search.

          - ignore_case(False): make the search case-insensitive.

          - show_all(False): show all names, including those starting with
            underscores.
        t   allRQ   i   i    i   s)   invalid argument string for psearch: <%s>s'   invalid namespace <%s>. Valid names: %st   ignore_caset   show_alls   
N(   R   R   t
   ValueErrort   keyst   sett   idt   addR   R8   R   RY   t   sorted(   Rr   t   patternt   ns_tablet	   ns_searchR   R   t   type_patternt   filtert   cmdst   len_cmdsR4   t   search_resultt   namespaces_seent   ns_namet   nst   tmp_res(    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   psearchf  s0    

N(   R   t
   __module__R   R	   t   ANSICodeColorsR   R   R   R   R   R   R   R7   R   R   R   R   R   R   R   R   R   (    (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyR   y  s&   			:L(    (R   R   t
   __future__R    t   __all__R   R   R?   t   textwrapR   R   R
   RB   t	   itertoolsR   t   ImportErrorR   t   IPython.coreR   t   IPython.lib.prettyR   t   IPython.testing.skipdoctestR   t   IPython.utilsR	   R   R   t   IPython.utils.dir2R   t   IPython.utils.pathR   t   IPython.utils.textR   t   IPython.utils.wildcardR   t   IPython.utils.coloransiR   R   R   t   IPython.utils.py3compatR   R   R   t   IPython.utils.signaturesR   t   FunctionTypeRi   R   t   objectR   R   t
   ModuleTypet
   MethodTypeRV   R   R   R   Rf   R   t   upperRg   t   ColorsR   t   LightRedt   Normalt   LinuxColorst   Redt   LightBGColorsR   R6   R;   RK   R   R[   Rh   Rk   Rq   R   R{   R\   R=   R   R   (    (    (    sM   /data/av2000/mvv/env_mvv/lib/python2.7/site-packages/IPython/core/oinspect.pyt   <module>   s   


					?			
5		#	!