aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gmail.com>2020-12-14 13:48:01 -0700
committerTim Harder <radhermit@gmail.com>2020-12-14 13:48:01 -0700
commit230536480b85d2a6be81fc356af0cff1ae937ddc (patch)
tree01741e0bbb715860bf000d497b952edd8c06e6e7 /src/snakeoil/compatibility.py
parentdist.distutils_extensions: drop 2to3 and 3to2 commands (diff)
downloadsnakeoil-230536480b85d2a6be81fc356af0cff1ae937ddc.tar.gz
snakeoil-230536480b85d2a6be81fc356af0cff1ae937ddc.tar.bz2
snakeoil-230536480b85d2a6be81fc356af0cff1ae937ddc.zip
compatibility: drop is_py3k
Diffstat (limited to 'src/snakeoil/compatibility.py')
-rw-r--r--src/snakeoil/compatibility.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/snakeoil/compatibility.py b/src/snakeoil/compatibility.py
index 29fa1c86..3d09418d 100644
--- a/src/snakeoil/compatibility.py
+++ b/src/snakeoil/compatibility.py
@@ -2,13 +2,11 @@
Compatibility functionality stubs
"""
-__all__ = ("is_py3k", "is_jython", "cmp", "sorted_cmp", "sort_cmp")
+__all__ = ("is_jython", "cmp", "sorted_cmp", "sort_cmp")
import sys
-is_py3k = int(sys.version[0]) == 3
-
is_jython = False
if hasattr(sys, 'getPlatform'):
is_jython = 'java' in sys.getPlatform().lower()