| Server IP : 217.160.0.135 / Your IP : 216.73.217.85 Web Server : Apache System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64 User : sws1074145052 ( 1074145052) PHP Version : 8.3.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /lib/python3/dist-packages/django/utils/__pycache__/ |
Upload File : |
�
�|�e� � �t � d dl Z d dlZ e j d�� � d� � � Zd� Zd� Zd� Zd� Zd � Zd
� Z d� Z
dS )� Ni )�maxsizec � � t t j | � � j � � � � � }|r
|dd � }|S )N� )�tuple�inspect� signature�
parameters�values)�func�remove_firstr s �6/usr/lib/python3/dist-packages/django/utils/inspect.py�_get_func_parametersr sD � ��w�(��.�.�9�@�@�B�B�C�C�J�� $�����^�
��� c �b � t j | � � }|r| j n| }t ||�� � S )N)r )r �ismethod�__func__r )�meth_or_func� is_methodr s r
�_get_callable_parametersr
s7 � �� ��.�.�I�$-�?�<� � �<�D���9�=�=�=�=r c �8 � t | � � }d� |D � � S )Nc �P � g | ]#}|j t j j k �|j ��$S � )�kindr � Parameter�POSITIONAL_OR_KEYWORD�name)�.0�params r
�
<listcomp>z!get_func_args.<locals>.<listcomp> s7 � � � � ���:��*�@�@�@� �
�@�@�@r )r )r �paramss r
�
get_func_argsr! s0 � �
%�d�
+�
+�F�� � &�� � � r c �f � t | � � }g }|D ]�}|j }|dk r�|j t j j k rd|z }n|j t j j k rd|z }|j t j j k r|� ||j f� � ��|� |f� � ��|S )z�
Return a list of (argument name, default value) tuples. If the argument
does not have a default value, omit it in the tuple. Arguments such as
*args and **kwargs are also included.
�self�*z**)
r r r r r �VAR_POSITIONAL�VAR_KEYWORD�default�empty�append)r r �argsr r s r
�get_func_full_argsr+ s� � � &�d�
+�
+�F�
�D�� !� !���z���6�>�>���:��*�9�9�9���:�D�D�
�Z�7�,�8�
8�
8��$�;�D��=�G�-�3�3�3��K�K��u�}�-�.�.�.�.��K�K��� � � � ��Kr c �N � t d� t | � � D � � � � S )zBReturn True if function 'func' accepts keyword arguments **kwargs.c 3 �: K � | ]}|j |j k �|V � �d S �N)r r&