/usr/lib/python2.6/site-packages/stevedore/example2
Edit: /usr/lib/python2.6/site-packages/stevedore/example2/fields.pyc (1382B)
Ñò
4
Wc @ s9 d d k Z d d k l Z d e i f d „ ƒ YZ d S( iÿÿÿÿN( t baset FieldListc B s e Z d Z d „ Z RS( sË Format values as a reStructuredText field list.
For example::
: name1 : value
: name2 : value
: name3 : a long value
will be wrapped with
a hanging indent
c c sl xe t | i ƒ ƒ D]Q \ } } d i d | d | ƒ } t i | d d d d d | i ƒ} | d Vq Wd
S( s¶ Format the data and return unicode text.
:param data: A dictionary with string keys and simple types as
values.
:type data: dict(str:?)
s : {name} : {value}t namet valuet initial_indentt t subsequent_indents t widths
N( t sortedt itemst formatt textwrapt fillt max_width( t selft dataR R t full_textt wrapped_text( ( s<