build: Require python 3.5

This commit is contained in:
MarcoFalke committed 2019-03-02 10:40:23 -05:00
1 parent fa6bf21f5e
commit fab5a1e0f4
17 files changed
+18 -122

No files matched your search

-4
View File
@@ -449,10 +449,6 @@ class CScript(bytes):
# join makes no sense for a CScript()
raise NotImplementedError
# Python 3.4 compatibility
def hex(self):
return self.hex()
def __new__(cls, value=b''):
if isinstance(value, bytes) or isinstance(value, bytearray):
return super(CScript, cls).__new__(cls, value)