{ } Raw JSON

bundles / astropy 7.0.1 / astropy / io / fits / util / _write_string

function

astropy.io.fits.util:_write_string

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

Signature

def   _write_string ( f s )

Summary

Write a string to a file, encoding to ASCII if the file is open in binary mode, or decoding if the file is open in text mode.

Aliases

  • astropy.io.fits.file._write_string