관리-도구
편집 파일: common_rules.cpython-311.pyc
� �܋f� � �r � d Z ddlmZ ej ZddlmZmZmZm Z m Z ddlmZ ddlmZ ddl mZ d d�Zd� Zd S )aM Build common block mechanism for f2py2e. Copyright 2000 Pearu Peterson all rights reserved, Pearu Peterson <pearu@ioc.ee> Permission to use, modify, and distribute this software is given under the terms of the NumPy License NO WARRANTY IS EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. $Date: 2005/05/06 10:57:33 $ Pearu Peterson � )�__version__)�hasbody� hascommon�hasnote� isintent_hide�outmess)� capi_maps)� func2subr)� rmbadnamec � � � g }t � � � rG� d � � � D ]+\ }}� fd�|D � � }|� |||f� � �,n-t � � � r� d D ]}|t |d� � z }�|rEg }g }|D ]<} | d |vr0|� | d � � |� | � � �=|S |S )N�commonc �. �� i | ]}|�d | ��S )�vars� )�.0�v�blocks ��j/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/f2py/common_rules.py� <dictcomp>z$findcommonblocks.<locals>.<dictcomp> s$ �� �8�8�8�Q�Q��f� �a�(�8�8�8� �body� )r �items�appendr �findcommonblocks) r �top�ret�key�value�vars_�b�tret�names�ts ` r r r s �� � �C����� /���/�/�/�1�1� ,� ,�J�C��8�8�8�8�%�8�8�8�E��J�J��U�E�*�+�+�+�+� ,� ���� /��v�� /� /�A��(��A�.�.�.�C�C� � ������ � �A���t�5� � ����Q�q�T�"�"�"����A��������Jr c �p � g g dgd�}dg}|fd�}dg}|fd�}dg}|fd�}dg}|fd�} t | � � D �]�\ } }}| � � � } g g }}|D ]B}t || � � r|� |� � �-|� |� � �C|r@t d| �d d � |� � �dd � |� � �d�� � n)t d| �d d � |� � �d�� � |d | z � � |d� � |D ] } |t j ||� � � � �!| dk r" |dd � |� � z � � n$ |d| �dd � |� � ��� � |dd � |� � z � � |d� � |d| z � � g }|D ]�}t j || � � }t j || � � }t j | }t j ||| � � }|d r|� d|d z � � n|� d� � |d � � � }|sd} |d|�d|d �d|�d|�d|�d�� � �� |d � � t |� � }d � d!� |D � � � � } |d"| �d#|�d$�� � |d%� � |D ]} |d&| �d'|�d(�� � � |d)� � d*| v rd+}nd,} |d-|�d.| �d/| � � � �d0d � d1gt! |� � z � � �d2� � � |d3| z � � |d4|�d.| �d/| � � � �d5| �d6� � � |d7� � |d8| �d9| �d6�� � |d:� � |d;| z � � |d<� � | � d*d=� � } | d>|z � � | d?� � |D ]�} | d@t j ||| � � z � � t'