Submit
Path:
~
/
/
proc
/
thread-self
/
root
/
proc
/
thread-self
/
root
/
usr
/
lib
/
python2.7
/
site-packages
/
botocore
/
docs
/
File Content:
sharedexample.pyc
� ?��Xc @ s[ d d l Z d d l Z d d l m Z d d l m Z d e f d � � YZ d � Z d S( i����N( t parse_timestamp( t sixt SharedExampleDocumenterc B s� e Z d � Z d � Z d � Z d � Z e d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z RS( c C sc | j j � | j | j d � � | j j � | j | | | | j � | j | | | j � d S( s8 Documents a single shared example based on its definition. :param example: The model of the example :param prefix: The prefix to use in the method example. :param section: The section to write to. :param operation_model: The model of the operation used in the example t descriptionN( t stylet new_paragrapht writet gett new_linet document_inputt input_shapet document_outputt output_shape( t selft examplet prefixt sectiont operation_model( ( s= /tmp/pip-build-uEGWVr/botocore/botocore/docs/sharedexample.pyt document_shared_example s c C s� | j d � } | j j � | d k r8 | j | � n | j d i � } | j d � } | rq | j d � } n | j d � } | j | | | g | � | j d � } | j j � | j j � | j d � | j j � d S( Nt inputt commentst parameterss input-closes print(response)( t add_new_sectionR t start_codeblockt NoneR R t _document_paramsR t end_codeblock( R R R R t shapet input_sectiont paramsR t param_sectiont closing_section( ( s= /tmp/pip-build-uEGWVr/botocore/botocore/docs/sharedexample.pyR '