/usr/lib/python2.7/dist-packages/Scientific/N.py is in python-scientific 2.9.4-1.
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 | # This package exists for compatibility with previous releases
# of ScientificPython that supported both NumPy and the old
# Numeric package. Please don't use it in new code, use numpy
# directly.
from numpy.oldnumeric import *
def int_sum(a, axis=0):
return add.reduce(a, axis)
def zeros_st(shape, other):
return zeros(shape, dtype=other.dtype)
from numpy import ndarray as array_type
package = "NumPy"
|