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 /compat.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 'compat.py')
-rw-r--r-- | compat.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -8,7 +8,7 @@ import sys import os import types -if sys.version_info >= (3, 5, 2): +if False: # MYPY from typing import Any, Dict, Optional, List, Union, BinaryIO, IO, Text, Tuple # NOQA @@ -95,7 +95,7 @@ else: import cStringIO BytesIO = cStringIO.StringIO -if sys.version_info >= (3, 5, 2): +if False: # MYPY # StreamType = Union[BinaryIO, IO[str], IO[unicode], StringIO] StreamType = Union[BinaryIO, IO[str], StringIO] |