| Server IP : 217.160.0.135 / Your IP : 216.73.217.25 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/traitlets/utils/__pycache__/ |
Upload File : |
�
�Uc � �$ � d Z ddlZddlmZ d� ZdS )z�
getargspec excerpted from:
sphinx.util.inspect
~~~~~~~~~~~~~~~~~~~
Helpers for inspecting Python modules.
:copyright: Copyright 2007-2015 by the Sphinx team, see AUTHORS.
:license: BSD, see LICENSE for details.
� N)�partialc
� � t j | � � r| j } t | � � t u �r?| j }t
|� � }t |d � � }t |d pd� � }t |d � � }t |d pi � � }| j r|t | j � � d� }| j pdD ]k} |� |� � t |� � z
}||= ||= n# t $ r Y nw xY w�A# t $ r |� |� � }||= ||= Y �hw xY wt j ||d |d t! |� � |||d � � S t# | d
� � r| j } t# | d
� � �t j | � � st) d| z � � �t j | � � S )z?Like inspect.getargspec but supports functools.partial as well.r � � � � N� � � �__wrapped__z%r is not a Python function)�inspect�ismethod�__func__�typer �func�
getargspec�list�dict�args�len�keywords�index�
IndexError�
ValueError�FullArgSpec�tuple�hasattrr �
isfunction� TypeError�getfullargspec) r � orig_func�argspecr �defaults�kwoargs�kwodefs�arg�is �</usr/lib/python3/dist-packages/traitlets/utils/getargspec.pyr r s� � ������ ��}���D�z�z�W����I� ��Y�'�'���G�A�J�������
�(�b�)�)���w�q�z�"�"���w�q�z�'�R�(�(���9� *���D�I���(�(�)�D��=�&�B� !� !�C�
!��J�J�s�O�O�c�$�i�i�/����G�� �����!� � � ��D��������
!�
!�
!��M�M�#�&�&���A�J��C�L�L�L�
!���� �"��'�!�*�g�a�j�%��/�/�7�G�W�UV�Z�
�
�
� �$�
�
&�
&� ���� �$�
�
&�
&� ���d�#�#� >��5��<�=�=�=��!�$�'�'�'s6 �(D�9C=�<D�=
D
�D� D
�
D�%D6�5D6)�__doc__r
� functoolsr r r � r( �<module>r, sE ��� � ���� � � � � � �
(� (� (� (� (r+