From b2c0b4a65f23ee7ad92cc69fba59ba865ac6c3e6 Mon Sep 17 00:00:00 2001 From: andamian Date: Tue, 13 Mar 2018 14:19:57 -0700 Subject: [PATCH] Update README.rst --- caom2/README.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/caom2/README.rst b/caom2/README.rst index 18cd2641..629e51e5 100644 --- a/caom2/README.rst +++ b/caom2/README.rst @@ -18,6 +18,7 @@ To create a minimal Simple Observation -------------------------------------- .. code:: python + # make it compatible with Python 2 and 3 from __future__ import (absolute_import, division, print_function, unicode_literals) @@ -47,6 +48,8 @@ To create a minimal Simple Observation writer = ObservationWriter() writer.write(observation, sys.stdout) +The output: + .. code:: xml @@ -82,6 +85,7 @@ To create a complete Observation -------------------------------------- .. code:: python + # make it compatible with Python 2 and 3 from __future__ import (absolute_import, division, print_function, unicode_literals) @@ -224,6 +228,8 @@ To create a complete Observation writer = ObservationWriter() writer.write(observation, sys.stdout) +The output: + .. code:: xml