summaryrefslogtreecommitdiff
path: root/error.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-08-06 09:07:30 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-08-06 09:07:30 +0200
commitbe4502b57ac2203e3ad075b18a5a94f87dfcf8dc (patch)
tree8a2f90f0b707858b877c76af392cf625be4031ca /error.py
parentc93c3cd9efdebd72873655494fc695b9c65858eb (diff)
downloadruamel.yaml-be4502b57ac2203e3ad075b18a5a94f87dfcf8dc.tar.gz
more float stuff and mypy changes
Diffstat (limited to 'error.py')
-rw-r--r--error.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/error.py b/error.py
index 4658f8e..f712a60 100644
--- a/error.py
+++ b/error.py
@@ -195,10 +195,12 @@ warnings.simplefilter('once', UnsafeLoaderWarning)
class MantissaNoDotYAML1_1Warning(YAMLWarning):
def __init__(self, node, flt_str):
+ # type: (Any, Any) -> None
self.node = node
self.flt = flt_str
def __str__(self):
+ # type: () -> Any
line = self.node.start_mark.line
col = self.node.start_mark.column
return """