๓ งZc@siddlmZmZmZmZmZmZmZd a d„Z d„Z d„Z ie ej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej6eej 6e!ej"6e!ej#6e!ej$6d ej%6d ej&6d ej'6d ej(6Z)d„Z*d„Z+d„Z,d„Z-e e-ƒd S( i(t VFuncInfot FunctionInfot CallableInfot ObjectInfot StructInfot DirectiontTypeTagcCs |adS(sSet 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|dƒr:|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 Csฮg}t|tƒr!dg}n*t|tƒrK|jƒrKdg}qKn|jƒ}d }tƒ}tƒ}xM|D]E}|j|jƒƒ|j|jƒj ƒƒ|j|j ƒƒqvWxอt |ƒD]ฟ\}}|j ƒt jkr๓qฬn||krqฬn|jƒ}t|jƒƒ} | |kr@|d| 7}n|jƒsX||kre|d7}n|jƒr~|d7}n|j|ƒqฬWdj|ƒ} g} t|jƒƒ} |jƒ r| r| |kr| }|jƒr๔|d7}n| j|ƒnxt |ƒD]\}}|j ƒt jkr8qn||krJqn|jƒ}t|jƒƒ} | |kr…|d| 7}n| j|ƒqW| rนd|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                 cCsทd}d}t|tƒrK|jƒdkrc|d|jƒd7}qcn|d|jƒd7}x;|jƒD]-}|jƒrp|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_docฎs cCs<t|ttfƒrt|ƒSt|tƒr8t|ƒSdS(NRB(R!RRRIRRA(R ((s2/usr/lib64/python2.7/site-packages/gi/docstring.pyt_generate_doc_dispatchรs   N(.t_giRRRRRRRRRR R R tbooltBOOLEANtinttINT8tUINT8tINT16tUINT16tINT32tUINT32tINT64tUINT64tfloattFLOATtDOUBLEtlisttGLISTtGSLISTtARRAYtdicttGHASHtstrtUTF8tFILENAMEtUNICHARRtGTYPEtERRORtVOIDRRRARIRJ(((s2/usr/lib64/python2.7/site-packages/gi/docstring.pyts>4                           @