[Numpy-discussion] doc error in fromregex

Stéfan van der Walt stefan at sun.ac.za
Mon Mar 9 08:41:22 EDT 2009


2009/3/9 Neal Becker <ndbecker2 at gmail.com>:
> http://docs.scipy.org/doc/numpy/reference/generated/numpy.fromregex.html#numpy.fromregex
>>> says 'str or file', but I don't think it takes str, only file name
>
> Oh, so you mean pass a filename or an open file.  I thought it meant it could
> read from a string.

Yes, the docs say:

   file : str or file
        File name or file object to read.

Cheers
Stéfan



More information about the NumPy-Discussion mailing list