{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / util / fileobj_is_binary

function

astropy.io.fits.util:fileobj_is_binary

source: /astropy/io/fits/util.py :452

Signature

def   fileobj_is_binary ( f )

Summary

Returns True if the give file or file-like object has a file open in binary mode. When in doubt, returns True by default.

Aliases

  • astropy.io.fits.header.fileobj_is_binary