文件操作 - _signatures.cpython-311.pyc
返回文件管理
返回主菜单
删除本文件
文件: /usr/lib/python3/dist-packages/backcall/__pycache__/_signatures.cpython-311.pyc
编辑文件内容
� a3�c�t � �� � d Z ddlmZmZmZ ddlZddlZddlZddlZddl m Z dZg d�Z e e j � � Z e ej � � Zeeej fZd d�Zd� Zd � Z G d � de� � Z G d� d e� � Z G d� de� � Z edd�� � Z edd�� � Z edd�� � Z edd�� � Z edd�� � Z G d� de� � Z! G d� de� � Z" G d� de� � Z#dS )!z�Function signature objects for callables Back port of Python 3.3's function signature tools from the inspect module, modified to be compatible with Python 2.6, 2.7 and 3.2+. � )�absolute_import�division�print_functionN)�OrderedDictz0.3)�BoundArguments� Parameter� Signature� signaturec � � t | t � � r%| j dd|fv r| j S | j dz | j z S t | � � S )N�builtins�__builtin__�.)� isinstance�type� __module__�__name__�repr)� annotation�base_modules �6/usr/lib/python3/dist-packages/backcall/_signatures.py�formatannotationr , sV � ��*�d�#�#� =�� �Z���$L�L�L��&�&��$�S�(��)<�<�<�� ���� c � � | t u rd S t | |� � }|D ]}t |||� � }� t |t � � s|S d S # t $ r Y d S w xY w�N)r �getattrr �_NonUserDefinedCallables�AttributeError)�cls�method_name�nested�meth�names r �_get_user_defined_methodr# 4 s� � ���$�;�;��F��s�K�(�(��� -� -�D��4��t�,�,�D�D� -� �$� 8�9�9� � �K� � �� � � � �������s � A �&A � A�Ac �. � t | � � s"t d� | � � � � �t | t j � � rVt | j � � }|� t |j � � � � � dd� �� � S | j }|�|S n# t $ r Y nw xY w | j }t |� � S # t $ r Y nw xY wt | t j � � rt � | � � S t | t$ j � � �r0t | j � � }t+ |j � � � � � }| j pd}| j pi } |j |i |��}n6# t $ r)}d� | � � }t5 |� � �d}~ww xY w|j � � � D ]]\ } } || }| |v r|� | d�� � || <