403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/lib/python3.9/dist-packages/matplotlib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lib/python3.9/dist-packages/matplotlib/__pycache__/_docstring.cpython-39.pyc
a

���h`�@s`ddlZddlmZdd�ZGdd�d�ZGdd	�d	e�ZGd
d�de�Zdd
�Ze�Z	Z
dS)�N�)�_apics�fdd�}|S)a�
    Decorator for defining the kwdoc documentation of artist properties.

    This decorator can be applied to artist property setter methods.
    The given text is stored in a private attribute ``_kwarg_doc`` on
    the method.  It is used to overwrite auto-generated documentation
    in the *kwdoc list* for artists. The kwdoc list is used to document
    ``**kwargs`` when they are properties of an artist. See e.g. the
    ``**kwargs`` section in `.Axes.text`.

    The text should contain the supported types, as well as the default
    value if applicable, e.g.:

        @_docstring.kwarg_doc("bool, default: :rc:`text.usetex`")
        def set_usetex(self, usetex):

    See Also
    --------
    matplotlib.artist.kwdoc

    cs
�|_|S�N)Z
_kwarg_doc)�func��text��?/usr/local/lib/python3.9/dist-packages/matplotlib/_docstring.py�	decoratorszkwarg_doc.<locals>.decoratorr)rr
rrr	�	kwarg_docsrc@s(eZdZdZdd�Zdd�Zdd�ZdS)	�SubstitutionaG
    A decorator that performs %-substitution on an object's docstring.

    This decorator should be robust even if ``obj.__doc__`` is None (for
    example, if -OO was passed to the interpreter).

    Usage: construct a docstring.Substitution with a sequence or dictionary
    suitable for performing substitution; then decorate a suitable function
    with the constructed object, e.g.::

        sub_author_name = Substitution(author='Jason')

        @sub_author_name
        def some_function(x):
            "%(author)s wrote this function"

        # note that some_function.__doc__ is now "Jason wrote this function"

    One can also use positional arguments::

        sub_first_last_names = Substitution('Edgar Allen', 'Poe')

        @sub_first_last_names
        def some_function(x):
            "%s %s wrote the Raven"
    cOs|r|rtd��|p||_dS)Nz+Only positional or keyword args are allowed)�	TypeError�params��self�args�kwargsrrr	�__init__=szSubstitution.__init__cCs|jrt�|j�|j|_|Sr)�__doc__�inspect�cleandocr)rrrrr	�__call__BszSubstitution.__call__cOs|jj|i|��dS)zW
        Update ``self.params`` (which must be a dict) with the supplied args.
        N)r�updaterrrr	rGszSubstitution.updateN)�__name__�
__module__�__qualname__rrrrrrrr	r"src@seZdZdd�ZdS)�_ArtistKwdocLoaderc
s�|�d�st|��|dtd���ddlm}m}z�fdd�t�|�D�\}Wn.ty�}zt|�|�WYd}~n
d}~00|�	|||��S)Nz:kwdocr)�Artist�kwdoccsg|]}|j�kr|�qSr)r)�.0�cls��namerr	�
<listcomp>Us
�z2_ArtistKwdocLoader.__missing__.<locals>.<listcomp>)
�endswith�KeyError�lenZmatplotlib.artistrrrZrecursive_subclasses�
ValueError�
setdefault)r�keyrrr �err!r	�__missing__Os
 z_ArtistKwdocLoader.__missing__N)rrrr+rrrr	rNsrcs(eZdZdZdd�Z�fdd�Z�ZS)�_ArtistPropertiesSubstitutiona�
    A `.Substitution` with two additional features:

    - Substitutions of the form ``%(classname:kwdoc)s`` (ending with the
      literal ":kwdoc" suffix) trigger lookup of an Artist subclass with the
      given *classname*, and are substituted with the `.kwdoc` of that class.
    - Decorating a class triggers substitution both on the class docstring and
      on the class' ``__init__`` docstring (which is a commonly required
      pattern for Artist subclasses).
    cCst�|_dSr)rr)rrrr	rhsz&_ArtistPropertiesSubstitution.__init__cs0t��|�t|t�r,|jtjkr,||j�|Sr)�superr�
isinstance�typer�object)r�obj��	__class__rr	rks
z&_ArtistPropertiesSubstitution.__call__)rrrrrr�
__classcell__rrr2r	r,\sr,cs�fdd�}|S)z;Copy a docstring from another source function (if present).cs�jr�j|_|Sr)r)�target��sourcerr	�do_copytszcopy.<locals>.do_copyr)r7r8rr6r	�copyrsr9)r�rrr�dictrr,r9Zdedent_interpdZinterpdrrrr	�<module>s,

Youez - 2016 - github.com/yon3zu
LinuXploit