Zc@siddlmZmZmZmZmZmZmZd a dZ dZ dZ ie ej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej 6e!ej"6e!ej#6e!ej$6d ej%6d ej&6d ej'6d ej(6Z)dZ*dZ+dZ,dZ-e e-d S( i(t VFuncInfot FunctionInfot CallableInfot ObjectInfot StructInfot DirectiontTypeTagcCs |adS(sSet doc string generator function :param callable func: Callable which takes a GIInfoStruct and returns documentation for it. N(t_generate_doc_string_func(tfunc((s2/usr/lib64/python2.7/site-packages/gi/docstring.pytset_doc_string_generator%scCstS(s6Returns the currently registered doc string generator.(R(((s2/usr/lib64/python2.7/site-packages/gi/docstring.pytget_doc_string_generator/scCs t|S(sEGenerate a doc string given a GIInfoStruct. :param gi.types.BaseInfo info: GI info instance to generate documentation for. :returns: Generated documentation as a string. :rtype: str This passes the info struct to the currently registered doc string generator and returns the result. (R(tinfo((s2/usr/lib64/python2.7/site-packages/gi/docstring.pytgenerate_doc_string4s cCs|j}tj|d}|r:t|dr:|jS|tjkr|j}|j }|sq|j Sd|j |fS|j S(Nt__name__s%s.%s( tget_tagt_type_tag_to_py_typetgettNonethasattrR Rt INTERFACEt get_interfacetget_nametget_tag_as_stringt get_namespace(tgi_typettype_tagtpy_typetifacet info_name((s2/usr/lib64/python2.7/site-packages/gi/docstring.pyt_get_pytype_hint\s    c Csg}t|tr!dg}n*t|trK|jrKdg}qKn|j}d }t}t}xM|D]E}|j|j|j|jj |j|j qvWxt |D]\}}|j t jkrqn||krqn|j}t|j} | |kr@|d| 7}n|jsX||kre|d7}n|jr~|d7}n|j|qWdj|} g} t|j} |j r| r| |kr| }|jr|d7}n| j|nxt |D]\}}|j t jkr8qn||krJqn|j}t|j} | |kr|d| 7}n| j|qW| rd|j| dj| fSd |j| fSdS( Ntselftvoidt:s=Nones =s, s or Nones %s(%s) -> %ss%s(%s)(svoid(t isinstanceRRt is_methodt get_argumentstsettaddt get_destroytget_typetget_array_lengtht get_closuret enumeratet get_directionRtOUTRRt may_be_nullt is_optionaltappendtjointget_return_typet skip_returntmay_return_nulltINR ( R t in_args_strstargsthint_blacklisttignore_indicestuser_data_indicestargtitargstrthintt in_args_strt out_args_strst return_hint((s2/usr/lib64/python2.7/site-packages/gi/docstring.pyt_generate_callable_info_docnsb                 cCsd}d}t|trK|jdkrc|d|jd7}qcn|d|jd7}x;|jD]-}|jrp|dt|d7}qpqpW|r||SdSdS(Ns :Constructors: :: tis s() s(**properties) s (R!Rtget_sizeRt get_methodstis_constructorRA(R theadertdoct method_info((s2/usr/lib64/python2.7/site-packages/gi/docstring.pyt_generate_class_info_docs cCs<t|ttfrt|St|tr8t|SdS(NRB(R!RRRIRRA(R ((s2/usr/lib64/python2.7/site-packages/gi/docstring.pyt_generate_doc_dispatchs   N(.t_giRRRRRRRRRR R R tbooltBOOLEANtinttINT8tUINT8tINT16tUINT16tINT32tUINT32tINT64tUINT64tfloattFLOATtDOUBLEtlisttGLISTtGSLISTtARRAYtdicttGHASHtstrtUTF8tFILENAMEtUNICHARRtGTYPEtERRORtVOIDRRRARIRJ(((s2/usr/lib64/python2.7/site-packages/gi/docstring.pyts>4                           @