diff options
author | Hongyang Peng <penghongyang@megvii.com> | 2023-05-09 18:09:39 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-09 12:09:39 +0200 |
commit | 181c15b294d6dd164e4c41ddbb1c5feae9b5beee (patch) | |
tree | 1dca1fb9e52cf9a4dd6d8ffe596a7287a427a5a3 /numpy/array_api/_indexing_functions.py | |
parent | c86cdefead454b4d131cfbee6d6a09ead272d9f5 (diff) | |
download | numpy-181c15b294d6dd164e4c41ddbb1c5feae9b5beee.tar.gz |
BUG: fix the method for checking local files (#23728)
BufferedReader and BufferedWriter cannot be used to determine local
files. For example, users can implement CustomFile to operate on OSS
files, and then use BufferedReader(CustomFile) to achieve the buffered
effect. But fileno method can do it.
Diffstat (limited to 'numpy/array_api/_indexing_functions.py')
0 files changed, 0 insertions, 0 deletions