summaryrefslogtreecommitdiff
path: root/compat.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 /compat.py
parent4f8475e4592ed1430815b1c2d4e40c95a536d156 (diff)
downloadruamel.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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat.py b/compat.py
index 4747fdb..c9f6373 100644
--- a/compat.py
+++ b/compat.py
@@ -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]