/usr/lib/python2.6/site-packages/oslo_config
Edit: /usr/lib/python2.6/site-packages/oslo_config/sphinxext.pyc (5956B)
Ñò
yDVc
@ s d d k l Z d d k l Z d d k l Z d d k l Z d d k l Z d d k l
Z
d d k Z d d d „ Z
d
d „ Z d e i f d
„ ƒ YZ d „ Z d S( iÿÿÿÿ( t nodes( t rst( t ViewList( t nested_parse_with_titles( t cfg( t generatorNt c C s× | d | ƒ | d ƒ | o% | d d i d „ | Dƒ ƒ ƒ n | d ƒ | d | d ƒ x | d D] } | d
| ƒ qk WxC | D]; } | d | d ƒ x | d D] } | d
| ƒ q WqŠ W| d ƒ d S( sÌ Build a list-table directive.
:param add: Function to add one row to output.
:param headers: List of header values.
:param data: Iterable of row data, yielding lists or tuples with rows.
s .. list-table:: %ss :header-rows: 1s :widths: %st ,c s s x | ] } t | ƒ Vq Wd S( N( t str( t .0t c( ( s: /tmp/pip-build-lt8jXN/oslo.config/oslo_config/sphinxext.pys
" s R s - * %si i s * %sN( t join( t addt headerst datat titlet columnst ht rowt r( ( s: /tmp/pip-build-lt8jXN/oslo.config/oslo_config/sphinxext.pyt _list_table s
%
i c s- d | ‰ d i ‡ f d † | i ƒ Dƒ ƒ S( Nt s
c 3 s x | ] } ˆ | Vq Wd S( N( ( R t l( t padding( s: /tmp/pip-build-lt8jXN/oslo.config/oslo_config/sphinxext.pys 0 s ( R t
splitlines( t textt n( ( R s: /tmp/pip-build-lt8jXN/oslo.config/oslo_config/sphinxext.pyt _indent. s
t ShowOptionsDirectivec B sl e Z e Z h d e i 6d e i 6d e i 6d e i 6d e i 6d e i
6d e i 6Z d „ Z
d „ Z RS( t stringt booleant integers floating pointt listt dicts multi-valuedc sc | i i i i } | i } d i | i ƒ } t i | g ƒ } t ƒ ‰ d t
d ‰ ‡ ‡ f d † ‰ ‡ f d † } h } xD | D]<