diff options
author | Anthon van der Neut <anthon@mnt.org> | 2017-04-22 09:47:24 +0200 |
---|---|---|
committer | Anthon van der Neut <anthon@mnt.org> | 2017-04-22 09:47:24 +0200 |
commit | facf4079b482304199f44a6f04865d8aa1f1f819 (patch) | |
tree | 32b2402d96d935998d1163ccee64c8fc8c8a70fa /main.py | |
parent | 4f8475e4592ed1430815b1c2d4e40c95a536d156 (diff) | |
download | ruamel.yaml-facf4079b482304199f44a6f04865d8aa1f1f819.tar.gz |
typing no longer needed, fix issue #117 (2.6 support)0.14.9
Diffstat (limited to 'main.py')
-rw-r--r-- | main.py | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -4,8 +4,6 @@ from __future__ import absolute_import, unicode_literals import warnings -import sys - import ruamel.yaml from ruamel.yaml.error import * # NOQA @@ -23,8 +21,8 @@ from ruamel.yaml.constructor import (BaseConstructor, SafeConstructor, Construct RoundTripConstructor) from ruamel.yaml.loader import Loader as UnsafeLoader -if sys.version_info >= (3, 5, 2): - from typing import List, Set, Dict, Union, Any # NOQA +if False: # MYPY + from typing import List, Set, Dict, Union, Any # NOQA from ruamel.yaml.compat import StreamType, StreamTextType, VersionType # NOQA # import io |