{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / util / fileobj_name

function

astropy.io.fits.util:fileobj_name

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

Signature

def   fileobj_name ( f )

Summary

Returns the 'name' of file-like object f, if it has anything that could be called its name. Otherwise f's class or type is returned. If f is a string f itself is returned.

Aliases

  • astropy.io.fits.convenience.fileobj_name