diff options
author | Anthon van der Neut <anthon@mnt.org> | 2016-08-15 22:46:12 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2016-08-15 22:46:12 +0200 |
commit | 438db3b9b29e997a6fc2674c95a2c76192b5a567 (patch) | |
tree | c16dc7d660b8d62862564fa669377623adb3a159 /parser.py | |
parent | 0da1ffde8bf06a1c84693a431aa3de5b02e767b6 (diff) | |
download | ruamel.yaml-438db3b9b29e997a6fc2674c95a2c76192b5a567.tar.gz |
initial type info, drop 2.60.12.0
Diffstat (limited to 'parser.py')
-rw-r--r-- | parser.py | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -71,17 +71,17 @@ from __future__ import absolute_import # flow_mapping_entry: { ALIAS ANCHOR TAG SCALAR FLOW-SEQUENCE-START # FLOW-MAPPING-START KEY } -__all__ = ['Parser', 'RoundTripParser', 'ParserError'] - # need to have full path, as pkg_resources tries to load parser.py in __init__.py # only to not do anything with the package afterwards # and for Jython too -from ruamel.yaml.error import MarkedYAMLError # NOQA +from ruamel.yaml.error import MarkedYAMLError # type: ignore from ruamel.yaml.tokens import * # NOQA from ruamel.yaml.events import * # NOQA -from ruamel.yaml.scanner import * # NOQA +from ruamel.yaml.scanner import Scanner, RoundTripScanner, ScannerError # NOQA from ruamel.yaml.compat import utf8 # NOQA +__all__ = ['Parser', 'RoundTripParser', 'ParserError'] + class ParserError(MarkedYAMLError): pass |