summaryrefslogtreecommitdiff
path: root/parser.py
diff options
context:
space:
mode:
authorAnthon van der Neut <anthon@mnt.org>2017-04-22 09:47:24 +0200
committerAnthon van der Neut <anthon@mnt.org>2017-04-22 09:47:24 +0200
commitfacf4079b482304199f44a6f04865d8aa1f1f819 (patch)
tree32b2402d96d935998d1163ccee64c8fc8c8a70fa /parser.py
parent4f8475e4592ed1430815b1c2d4e40c95a536d156 (diff)
downloadruamel.yaml-facf4079b482304199f44a6f04865d8aa1f1f819.tar.gz
typing no longer needed, fix issue #117 (2.6 support)0.14.9
Diffstat (limited to 'parser.py')
-rw-r--r--parser.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/parser.py b/parser.py
index 197c417..ec5c6ee 100644
--- a/parser.py
+++ b/parser.py
@@ -82,8 +82,7 @@ from ruamel.yaml.events import * # NOQA
from ruamel.yaml.scanner import Scanner, RoundTripScanner, ScannerError # NOQA
from ruamel.yaml.compat import utf8 # NOQA
-import sys
-if sys.version_info >= (3, 5, 2):
+if False: # MYPY
from typing import Any, Dict, Optional, List # NOQA
__all__ = ['Parser', 'RoundTripParser', 'ParserError']