관리-도구
편집 파일: compat.cpython-38.pyc
U +�e � @ s� d dl Z d dlmZ d dlmZ d dlZd dlZej�d�Z e ed�Ze �dddd d g�Z dd� Zd d� Zdd� Zdd� Zdd� ZdS )� N)�metadata)�util�win�pypy_version_info�ArgSpec�args�varargs�keywords�defaultsc C s� t �| �r| j} t �| �s(t| �d���| j}t �|�sFt|�d���|j}|j}|j }t |d|� �}||7 }d}|jt j@ r�|j| }|d }d}|jt j @ r�|j| }t|||| j�S )zBgetargspec based on fully vendored getfullargspec from Python 3.3.z is not a Python functionz is not a code objectN� )�inspect�ismethod�__func__� isfunction� TypeError�__code__�iscode�co_argcount�co_varnames�co_kwonlyargcount�list�co_flags� CO_VARARGS�CO_VARKEYWORDSr �__defaults__)�func�co�nargs�names�nkwargsr r �varkw� r! �9/opt/hc_python/lib/python3.8/site-packages/mako/compat.py�inspect_getargspec s( r# c C s&