Skip to content

Commit 3fc9075

Browse files
committed
Improve function description
1 parent 8a49428 commit 3fc9075

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dpnp/dpnp_iface_arraycreation.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1721,7 +1721,9 @@ def fromfile(
17211721
Parameters
17221722
----------
17231723
file : file or str or Path
1724-
Open file object or filename.
1724+
An open file object, a string containing the filename, or a Path object.
1725+
When reading from a file object it must support random access (i.e. it
1726+
must have tell and seek methods).
17251727
dtype : {None, str, dtype object}, optional
17261728
Data type of the returned array.
17271729
For binary files, it is used to determine the size and byte-order

0 commit comments

Comments
 (0)