/usr/share/pyshared/numpy/oldnumeric/misc.py is in python-numpy 1:1.6.1-6ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 | # Functions that already have the correct syntax or miscellaneous functions
__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 StringIO
import pickle
import math
import copy
import copy_reg
import sys
if sys.version_info[0] >= 3:
import copyreg
import io
StringIO = io.BytesIO
copy_reg = copyreg
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
|