관리-도구
편집 파일: function_base.cpython-37.pyc
B ��FdH/ � @ s� d dl mZmZmZ d dlZd dlZddlmZ ddlm Z m Z mZmZm Z mZ dddgZdd d�Zddd�Zddd�Zddd�ZdS )� )�division�absolute_import�print_functionN� )�numeric)�result_type�NaN� shares_memory�MAY_SHARE_BOUNDS�TooHardError� asanyarray�logspace�linspace� geomspace� c C sV yt �| �} W nB tk rP d�t| ��}t| �} |d7 }tj|t|d� Y nX | S )Nz=object of type {} cannot be safely interpreted as an integer.r )� stacklevel) �operator�index� TypeError�format�type�int�warnings�warn�DeprecationWarning)�ir �msg� r �K/opt/alt/python37/lib64/python3.7/site-packages/numpy/core/function_base.py�_index_deprecate s r �2 TFc C s� t |�}|dk rtd| ��|r(|d n|}t| �d } t|�d }t| |t|��}|dkr`|}tjd||d�}|| } |dkr�| | } | dkr�|| }|| }q�|| }nt} || }|| 7 }|r�|dkr�||d<