diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-10-17 09:46:37 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-10-17 09:46:37 +0200 |
commit | ef85bee2a24a6bb05c06d76a539401cbced70040 (patch) | |
tree | 0b12d64f60200891921f7d9732480b59939941f4 | |
parent | df5f2a3f889bf92954677041a1d307c81460e663 (diff) | |
download | ruamel.yaml-ef85bee2a24a6bb05c06d76a539401cbced70040.tar.gz |
added nprintf to import
-rw-r--r-- | composer.py | 2 | ||||
-rw-r--r-- | constructor.py | 4 | ||||
-rw-r--r-- | parser.py | 2 | ||||
-rw-r--r-- | serializer.py | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/composer.py b/composer.py index 3fda464..745c17a 100644 --- a/composer.py +++ b/composer.py @@ -5,7 +5,7 @@ from __future__ import absolute_import, print_function import warnings from ruamel.yaml.error import MarkedYAMLError, ReusedAnchorWarning -from ruamel.yaml.compat import utf8, nprint +from ruamel.yaml.compat import utf8, nprint, nprintf # NOQA from ruamel.yaml.events import ( StreamStartEvent, diff --git a/constructor.py b/constructor.py index 245e9f7..2983414 100644 --- a/constructor.py +++ b/constructor.py @@ -16,8 +16,8 @@ from ruamel.yaml.error import (MarkedYAMLError, MarkedYAMLFutureWarning, from ruamel.yaml.nodes import * # NOQA from ruamel.yaml.nodes import (SequenceNode, MappingNode, ScalarNode) from ruamel.yaml.compat import (utf8, builtins_module, to_str, PY2, PY3, # NOQA - ordereddict, text_type, nprint, version_tnf, Hashable, - MutableSequence, MutableMapping) + ordereddict, text_type, nprint, nprintf, version_tnf, + Hashable, MutableSequence, MutableMapping) from ruamel.yaml.comments import * # NOQA from ruamel.yaml.comments import (CommentedMap, CommentedOrderedMap, CommentedSet, CommentedKeySeq, CommentedSeq, TaggedScalar, @@ -80,7 +80,7 @@ from ruamel.yaml.error import MarkedYAMLError from ruamel.yaml.tokens import * # NOQA from ruamel.yaml.events import * # NOQA from ruamel.yaml.scanner import Scanner, RoundTripScanner, ScannerError # NOQA -from ruamel.yaml.compat import utf8, nprint # NOQA +from ruamel.yaml.compat import utf8, nprint, nprintf # NOQA if False: # MYPY from typing import Any, Dict, Optional, List # NOQA diff --git a/serializer.py b/serializer.py index 16763ac..a37885c 100644 --- a/serializer.py +++ b/serializer.py @@ -3,7 +3,7 @@ from __future__ import absolute_import from ruamel.yaml.error import YAMLError -from ruamel.yaml.compat import nprint, DBG_NODE, dbg, string_types +from ruamel.yaml.compat import nprint, DBG_NODE, dbg, string_types, nprintf # NOQA from ruamel.yaml.util import RegExp from ruamel.yaml.events import ( |