Searched refs:fileobj_name (Results 1 – 7 of 7) sorted by path
/dports/astro/py-astropy/astropy-5.0/astropy/io/fits/ |
H A D | convenience.py | 70 from .util import fileobj_closed, fileobj_name, fileobj_mode, _is_int 1121 name = fileobj_name(filename) or ''
|
H A D | file.py | 20 from .util import (isreadable, iswritable, isfile, fileobj_open, fileobj_name, 164 self.name = fileobj_name(fileobj)
|
H A D | util.py | 393 def fileobj_name(f): function 410 return fileobj_name(f.fileobj)
|
/dports/astro/py-astropy/astropy-5.0/astropy/io/fits/hdu/ |
H A D | nonstandard.py | 10 from astropy.io.fits.util import fileobj_name 74 name = fileobj_name(hdulist._file)
|
H A D | streaming.py | 12 from astropy.io.fits.util import fileobj_name 71 filename = fileobj_name(name) or ''
|
/dports/audio/py-mutagen/mutagen-1.42.0/mutagen/ |
H A D | _util.py | 100 def fileobj_name(fileobj): function 229 yield FileThing(fileobj, filename, filename or fileobj_name(fileobj))
|
/dports/audio/py-mutagen/mutagen-1.42.0/tests/ |
H A D | test__util.py | 5 resize_bytes, seek_end, mmap_move, verify_fileobj, fileobj_name, \ 709 self.assertEqual(fileobj_name(Foo()), "123") 713 self.assertEqual(fileobj_name(h), text_type(h.name))
|