diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-08-06 09:07:30 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-08-06 09:07:30 +0200 |
commit | be4502b57ac2203e3ad075b18a5a94f87dfcf8dc (patch) | |
tree | 8a2f90f0b707858b877c76af392cf625be4031ca /error.py | |
parent | c93c3cd9efdebd72873655494fc695b9c65858eb (diff) | |
download | ruamel.yaml-be4502b57ac2203e3ad075b18a5a94f87dfcf8dc.tar.gz |
more float stuff and mypy changes
Diffstat (limited to 'error.py')
-rw-r--r-- | error.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 """ |