load#
- astropy.io.misc.yaml.load(stream)[source]#
Parse the first YAML document in a stream using the AstropyLoader and produce the corresponding Python object.
- Parameters:
- stream
str
or file-like object YAML input
- stream
- Returns:
- obj
object
Object corresponding to YAML document
- obj