summaryrefslogtreecommitdiff
path: root/parser.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2016-08-15 22:46:12 +0200
committerAnthon van der Neut <anthon@mnt.org>2016-08-15 22:46:12 +0200
commit438db3b9b29e997a6fc2674c95a2c76192b5a567 (patch)
treec16dc7d660b8d62862564fa669377623adb3a159 /parser.py
parent0da1ffde8bf06a1c84693a431aa3de5b02e767b6 (diff)
downloadruamel.yaml-438db3b9b29e997a6fc2674c95a2c76192b5a567.tar.gz
initial type info, drop 2.60.12.0
Diffstat (limited to 'parser.py')
-rw-r--r--parser.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/parser.py b/parser.py
index 543cca9..bb9c96c 100644
--- a/parser.py
+++ b/parser.py
@@ -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