bundles / astropy latest / astropy / io / fits / util / fileobj_mode
function
astropy.io.fits.util:fileobj_mode
source: /astropy/io/fits/util.py :395
Signature
def fileobj_mode ( f ) Summary
Returns the 'mode' string of a file-like object if such a thing exists. Otherwise returns None.
Aliases
-
astropy.io.fits.convenience.fileobj_mode