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