File: //usr/lib64/python2.7/site-packages/mercurial/thirdparty/zope/interface/document.pyo
�
1�3\c @@ s] d Z d d l m Z d d l m Z d e d � Z d d � Z d � Z d d d � Z d
S( s� Pretty-Print an Interface object as structured text (Yum)
This module provides a function, asStructuredText, for rendering an
interface as structured text.
i ( t absolute_importi ( t Interfacec C@ sh | r d � } n d � } | | j � � g } | j } d } | j � rm | t t | j � � | � � n g | j D] } | t k rw | ^ qw } | r| t d | | � � | d 7} x@ | D]8 } d | | j � � }
| t t |
� | | � � q� W| d 8} n t | j � � } | t d | | � � | d 7} xj | D]b \ } }
t |
d � sDd | |
j � � |
j � p�d f }
| t t |
� | | � � qDqDW| d 8} | t d
| | � � | d 7} x� | D]x \ } }
t |
d � r�d |
j � |
j
� f } d | | � |
j � p-d f }
| t t |
� | | � � q�q�Wd j | � d S(
s� Output structured text format. Note, this will whack any existing
'structured' format of the text.
If `rst=True`, then the output will quote all code as inline literals in
accordance with 'reStructuredText' markup principles.
c S@ s d | f S( Ns ``%s``( ( t s( ( sR /usr/lib64/python2.7/site-packages/mercurial/thirdparty/zope/interface/document.pyt <lambda>! t c S@ s | S( N( ( R ( ( sR /usr/lib64/python2.7/site-packages/mercurial/thirdparty/zope/interface/document.pyR # R i s This interface extends:s o %ss Attributes:t getSignatureStrings %s -- %ss no documentations Methods:s %s%ss
( t getNamet appendt getDoct _justify_and_indentt _trim_doc_stringt __bases__R t sortedt namesAndDescriptionst hasattrR t join( t It munget rstt inline_literalt rt outpt levelt baset basest bt itemR
t namet desct _call( ( sR /usr/lib64/python2.7/site-packages/mercurial/thirdparty/zope/interface/document.pyt asStructuredText sH "
#
#c C@ s t | d | d t �S( si Output reStructuredText format. Note, this will whack any existing
'structured' format of the text.R R ( R t True( R R ( ( sR /usr/lib64/python2.7/site-packages/mercurial/thirdparty/zope/interface/document.pyt asReStructuredTextO s c C@ s� | j d d � j d � } | j d � g } | r� t g | D]"