관리-도구
편집 파일: compat.cpython-311.pyc
� �܋fy � �� � d dl Z d dlmZ d dlZd dlZej � d� � Z eed� � Z ej dk Z e j dg d�� � Z d� Zd � Zd � Zd� Zerd dlmZ nd dlZd � ZdS )� N)�util�win�pypy_version_info)� � �ArgSpec)�args�varargs�keywords�defaultsc � � t j | � � r| j } t j | � � st | �d�� � �| j }t j |� � st |�d�� � �|j }|j }|j }t |d|� � � }||z }d}|j t j z r|j | }|dz }d}|j t j z 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 �varkws �B/opt/cloudlinux/venv/lib64/python3.11/site-packages/mako/compat.py�inspect_getargspecr% s � � ����� ��}����d�#�#� >��4�<�<�<�=�=�=� ��B��>�"��� 8��2�6�6�6�7�7�7��N�E��N�E��"�G���f�u�f� ���D� �W��E��G� �{�W�'�'� ��.��'���� ���E� �{�W�+�+� &���u�%���4��%��):�;�;�;� c � � t j | |� � }t j |� � }|j � |� � |S �N)r �spec_from_file_location�module_from_spec�loader�exec_module)� module_id�path�spec�modules r$ �load_moduler1 2 s? � ��'� �4�8�8�D� � "�4� (� (�F��K���F�#�#�#��Mr&