OwlCyberSecurity - MANAGER
Edit File: utils.cpython-38.pyc
U �p�]� � @ s� d dl mZmZmZ d dlZd dlZd dlZd dlZd dlZd dl m Z mZmZ d dl mZ d dlmZmZmZ d dlZd dlmZmZ ddd d ddd dddddgZdd� Zdd� ZG dd� de�Zdd� Zdd � Zdd� Zdd� Z d6dd�Z!dd � Z"da#da$d7d"d#�Z%ej&fd$d%�Z'ed!�dd&ej&d!fd'd ��Z(ed!�ej&fd(d��Z)i a*e�+d)ej,�Z-ed!�d8d,d��Z.d-d.� Z/d/d0� Z0G d1d2� d2e�Z1d3d� Z2d4d5� Z3dS )9� )�division�absolute_import�print_functionN)�issubclass_�issubsctype� issubdtype)� set_module)�ndarray�ufunc�asarray)� getargspec� formatargspecr r r � deprecate�deprecate_with_doc�get_include�info�source�who�lookfor�byte_bounds� safe_evalc C sV ddl } | jdkr.tj�tj�| j�dd�}n$ddlm} tj�tj�|j�d�}|S )a� Return the directory that contains the NumPy \*.h header files. Extension modules that need to compile against NumPy should use this function to locate the appropriate include directory. Notes ----- When using ``distutils``, for example in ``setup.py``. :: import numpy as np ... Extension('extension_name', ... include_dirs=[np.get_include()]) ... r N�coreZinclude) �numpyZshow_config�os�path�join�dirname�__file__� numpy.corer )r �dr � r �1/usr/lib/python3/dist-packages/numpy/lib/utils.pyr s c C s || _ | S �N)�__name__)�func�namer r r! �_set_function_name5 s r&