{ } Raw JSON

bundles / astropy latest / astropy / io / fits / util / _fileobj_normalize_mode

function

astropy.io.fits.util:_fileobj_normalize_mode

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

Signature

def   _fileobj_normalize_mode ( f )

Summary

Takes care of some corner cases in Python where the mode string is either oddly formatted or does not truly represent the file mode.

Aliases

  • astropy.io.fits.util._fileobj_normalize_mode