݁[c@sddlmZddlmZddlmZddlmZdefdYZ de fdYZ d e fd YZ d e fd YZ d S(i(tdocument_model_driven_method(tdocument_wait_method(tdocument_paginate_method(tDocumentStructuretLazyLoadedDocstringcBsVeZdZdZdZdZddZdZeZdZ dZ RS( s0Used for lazily loading docstrings You can instantiate this class and assign it to a __doc__ value. The docstring will not be generated till accessed via __doc__ or help(). Note that all docstring classes **must** subclass from this class. It cannot be used directly as a docstring. cOs2tt|j||_||_d|_dS(s The args and kwargs are the same as the underlying document generation function. These just get proxied to the underlying function. N(tsuperRt__init__t _gen_argst _gen_kwargstNonet _docstring(tselftargstkwargs((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyRs  cOstt|j|S(N(RRt__new__(tclsR R ((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyR&scOstddS(Nsq_write_docstring is not implemented. Please subclass from this class and provide your own _write_docstring method(tNotImplementedError(R R R ((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyt_write_docstring*sicCs,|jdkr|jn|jj|S(sExpands tabs to spaces So this is a big hack in order to get lazy loaded docstring work for the ``help()``. In the ``help()`` function, ``pydoc`` and ``inspect`` are used. At some point the ``inspect.cleandoc`` method is called. To clean the docs ``expandtabs`` is called and that is where we override the method to generate and return the docstrings. N(R R t _generatet expandtabs(R ttabsize((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyR0s  cCs |jS(N(R(R ((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyt__str__>scCs(|jdkr!|j|_n|jS(N(R R t_create_docstring(R ((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyRDscCs>tddd}|j||j|j|jjdS(Nt docstringttargetthtmlsutf-8(RRRRtflush_structuretdecode(R tdocstring_structure((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyRJs   ( t__name__t __module__t__doc__RRRRRt__repr__RR(((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyRs     tClientMethodDocstringcBseZdZRS(cOst||dS(N(R(R R R ((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyRUs(RRR(((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyR!TstWaiterDocstringcBseZdZRS(cOst||dS(N(R(R R R ((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyRZs(RRR(((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyR"YstPaginatorDocstringcBseZdZRS(cOst||dS(N(R(R R R ((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyR_s(RRR(((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyR#^sN( tbotocore.docs.methodRtbotocore.docs.waiterRtbotocore.docs.paginatorRtbotocore.docs.bcdoc.restdocRtstrRR!R"R#(((so/private/var/folders/71/gccz42bs2nl23mxwq3vp1qmhw5xjlw/T/pip-install-k836tR/botocore/botocore/docs/docstring.pyt sA