
    z	i                     B    S SK r S SKJr   " S S\R                  5      rg)    N)basec                       \ rS rSrSrS rSrg)	FieldList   zFormat values as a reStructuredText field list.

For example::

  : name1 : value
  : name2 : value
  : name3 : a long value
      will be wrapped with
      a hanging indent
c              #      #    [        UR                  5       5       H=  u  p#SR                  UUS9n[        R                  " USSU R
                  S9nUS-   v   M?     g7f)zFormat the data and return unicode text.

:param data: A dictionary with string keys and simple types as
             values.
:type data: dict(str:?)
z: {name} : {value})namevalue z    )initial_indentsubsequent_indentwidth
N)sorteditemsformattextwrapfill	max_width)selfdatar   r	   	full_textwrapped_texts         S/home/james-whalen/.local/lib/python3.13/site-packages/stevedore/example2/fields.pyr   FieldList.format    sf      "$**,/KD,33 4 I $==!"(nn	L %% 0s   AA N)__name__
__module____qualname____firstlineno____doc__r   __static_attributes__r       r   r   r      s    	&r"   r   )r   stevedore.exampler   FormatterBaser   r   r"   r   <module>r%      s     "&"" &r"   