diff configmix/yaml.py @ 56:1f11672c4615

Optimize the documentation: make references working with Sphinx using :role:`target`
author Franz Glasner <hg@dom66.de>
date Wed, 28 Feb 2018 00:36:11 +0100
parents aa8345dae995
children a43749f751e0
line wrap: on
line diff
--- a/configmix/yaml.py	Tue Feb 27 23:57:57 2018 +0100
+++ b/configmix/yaml.py	Wed Feb 28 00:36:11 2018 +0100
@@ -28,8 +28,8 @@
 
 class ConfigLoader(yaml.Loader):
 
-    """A YAML loader, which makes all !!str strings to Unicode.  Standard
-    PyYAML does this only in the non-ASCII case.
+    """A YAML loader, which makes all ``!!str`` strings to Unicode.
+    Standard PyYAML does this only in the non-ASCII case.
 
     If an `OrderedDict` implementation is available then all "map" and
     "omap" nodes are constructed as `OrderedDict`.
@@ -90,7 +90,7 @@
 
 class ConfigSafeLoader(yaml.SafeLoader):
 
-    """A safe YAML loader, which makes all !!str strings to Unicode.
+    """A safe YAML loader, which makes all ``!!str`` strings to Unicode.
     Standard PyYAML does this only in the non-ASCII case.
 
     If an `OrderedDict` implementation is available then all "map" and