From 3beebbc0164afbbcc2b6840cf56174c6c073bb40 Mon Sep 17 00:00:00 2001 From: Charles Harris Date: Sun, 18 Aug 2013 18:40:28 -0600 Subject: DEP: Remove deprecated modules numarray and oldnumeric. They were deprecated in 1.8 and scheduled for removal in 1.9. Closes #3637. --- numpy/oldnumeric/misc.py | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 numpy/oldnumeric/misc.py (limited to 'numpy/oldnumeric/misc.py') diff --git a/numpy/oldnumeric/misc.py b/numpy/oldnumeric/misc.py deleted file mode 100644 index beaafd503..000000000 --- a/numpy/oldnumeric/misc.py +++ /dev/null @@ -1,37 +0,0 @@ -"""Functions that already have the correct syntax or miscellaneous functions - -""" -from __future__ import division, absolute_import, print_function - -__all__ = ['sort', 'copy_reg', 'clip', 'rank', - 'sign', 'shape', 'types', 'allclose', 'size', - 'choose', 'swapaxes', 'array_str', - 'pi', 'math', 'concatenate', 'putmask', 'put', - 'around', 'vdot', 'transpose', 'array2string', 'diagonal', - 'searchsorted', 'copy', 'resize', - 'array_repr', 'e', 'StringIO', 'pickle', - 'argsort', 'convolve', 'cross_correlate', - 'dot', 'outerproduct', 'innerproduct', 'insert'] - -import types -import pickle -import math -import copy -import sys - -if sys.version_info[0] >= 3: - import copyreg as copy_reg - from io import BytesIO as StringIO -else: - import copy_reg - from StringIO import StringIO - -from numpy import sort, clip, rank, sign, shape, putmask, allclose, size,\ - choose, swapaxes, array_str, array_repr, e, pi, put, \ - resize, around, concatenate, vdot, transpose, \ - diagonal, searchsorted, argsort, convolve, dot, \ - outer as outerproduct, inner as innerproduct, \ - correlate as cross_correlate, \ - place as insert - -from .array_printer import array2string -- cgit v1.2.1