diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-07-04 23:17:27 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-07-04 23:17:27 +0200 |
commit | 14183966ee4d729c7aa26274ced720d36e9f8fa4 (patch) | |
tree | 1eba15c4fc7fa3c6618ac7c4f9a822de2a95b1e6 /_doc | |
parent | 2f32798da642a6db67437b73486d2bca8c45bbd2 (diff) | |
download | ruamel.yaml-14183966ee4d729c7aa26274ced720d36e9f8fa4.tar.gz |
added pure to YAML0.15.18
Diffstat (limited to '_doc')
-rw-r--r-- | _doc/api.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/_doc/api.rst b/_doc/api.rst index 9c97dd9..f6ff28c 100644 --- a/_doc/api.rst +++ b/_doc/api.rst @@ -100,7 +100,7 @@ Dumping Controls ++++++++ -On your `YAML()` instance you can set attributes e.g with:: +On your ``YAML()`` instance you can set attributes e.g with:: yaml = YAML(typ='safe', pure=True) yaml.allow_unicode = False @@ -108,7 +108,7 @@ On your `YAML()` instance you can set attributes e.g with:: available attributes include: ``unicode_supplementary`` - Defaults to ``True`` if Unicode chars larger than 2 bytes. Set to ``False`` to + Defaults to ``True`` if Python's Unicode size is larger than 2 bytes. Set to ``False`` to enforce output of the form ``\U0001f601`` (ignored if ``allow_unicode`` is ``False``) Transparent usage of new and old API |