Файловый менеджер - Редактировать - /opt/imh-python/lib/python3.9/site-packages/numpy/random/_examples/cffi/__pycache__/parse.cpython-39.pyc
Ðазад
a e�h� � @ s d dl Z dd� ZdS )� Nc C sp t tj�|dd���H}g }|D ]}|�� �d�r2q|�|� q| �d�|�� W d � n1 sb0 Y t tj�|dd����}g }d}d}|D ]�}|r�|�� �d �r�d}q�|�� �d �r�d}|�� �d�r�q�|�� �d�r�||�d �7 }q�n(|dk�r||�d �7 }||�d�8 }q�|� dd�}|� dd�}|�|� q�| �d�|�� W d � n1 �sb0 Y dS )z� Parse distributions.h located in inc_dir for CFFI, filling in the ffi.cdef Read the function declarations without the "#define ..." macros that will be filled in when loading the library. �randomzbitgen.h�#� Nzdistributions.hr Fz#endifz#ifdef __cplusplusTz static inline�{�}ZDECLDIR� Z RAND_INT_TYPEZint64_t) �open�os�path�join�strip� startswith�appendZcdef�count�replace)�ffi�inc_dirZfid�s�lineZin_skipZignoring� r ��/root/rpmbuild/BUILDROOT/imh-python39-modules-3.9.7-92.el8.x86_64/opt/imh-python/lib/python3.9/site-packages/numpy/random/_examples/cffi/parse.py�parse_distributions_h s>