summaryrefslogtreecommitdiff
path: root/compat.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2021-05-30 09:25:32 +0200
committerAnthon van der Neut <anthon@mnt.org>2021-05-30 09:25:32 +0200
commit73f4bec5f498b31fd7ce7c2ac7ced187b4fc4920 (patch)
treee2318c5891b58aecebdb178636c61b7aa6a84193 /compat.py
parent17b35c376fd0fc9a94ba0adfdbf5bf63a6177dc9 (diff)
downloadruamel.yaml-73f4bec5f498b31fd7ce7c2ac7ced187b4fc4920.tar.gz
fix for issue 3840.17.5
aliased scalars in !!set would not round trip with ?
Diffstat (limited to 'compat.py')
-rw-r--r--compat.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/compat.py b/compat.py
index 10ebc23..e88b433 100644
--- a/compat.py
+++ b/compat.py
@@ -166,6 +166,7 @@ class Nprint:
out = sys.stdout if self._file_name is None else open(self._file_name, mode)
return out
+
nprint = Nprint()
nprintf = Nprint('/var/tmp/ruamel.yaml.log')