diff options
author | Anthon van der Neut <anthon@mnt.org> | 2018-08-05 13:39:30 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2018-08-05 13:39:30 +0200 |
commit | 30d97ce8eb9085cff432e89360e8b377cb81f3be (patch) | |
tree | 94743515987ea3308eb5e98d74c4ec7979cb9b22 /emitter.py | |
parent | dea3d69d7f66a3a6b644ca14e5cd4f807ab60161 (diff) | |
download | ruamel.yaml-30d97ce8eb9085cff432e89360e8b377cb81f3be.tar.gz |
mypy lagging again...
Diffstat (limited to 'emitter.py')
-rw-r--r-- | emitter.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1335,7 +1335,7 @@ class Emitter(object): def determine_block_hints(self, text): # type: (Any) -> Any - hints = "" + hints = u"" if text: if not self.root_context and text[0] in u' \n\x85\u2028\u2029': hints += text_type(self.best_sequence_indent) @@ -1405,7 +1405,7 @@ class Emitter(object): end += 1 def write_literal(self, text, comment=None): - # type: (Any) -> None + # type: (Any, Any) -> None hints = self.determine_block_hints(text) self.write_indicator(u'|' + hints, True) try: |