diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-05-29 21:57:25 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-05-29 21:57:25 +0200 |
commit | 6ba66a44af41d072f5ceddfcdf2c21611c2a7cd0 (patch) | |
tree | 1d6ce2221f7e08e831b9955b23c361d6dd84b124 /error.py | |
parent | 37721c337037bda3136e964b1eb5972e2587b4a0 (diff) | |
download | ruamel.yaml-6ba66a44af41d072f5ceddfcdf2c21611c2a7cd0.tar.gz |
preserve value type, support pathlib.Path as stream
Diffstat (limited to 'error.py')
-rw-r--r-- | error.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -126,6 +126,9 @@ class MarkedYAMLError(YAMLError): return '\n'.join(lines) +class YAMLStreamError(Exception): + pass + class ReusedAnchorWarning(Warning): pass |