build: Require python 3.5

This commit is contained in:
MarcoFalke
2019-02-20 18:13:43 -05:00
parent fa6bf21f5e
commit fab5a1e0f4
17 changed files with 18 additions and 122 deletions

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)