]> arthur.barton.de Git - bup.git/blobdiff - lib/bup/compat.py
Drop vestigial compat.items
[bup.git] / lib / bup / compat.py
index 645c12aa75c211e31ac18924d5cc470640fe73f4..96a228b78ded01d4c40b4f1a57f2c0e3128ac46b 100644 (file)
@@ -9,11 +9,7 @@ from contextlib import ExitStack, nullcontext
 from os import environb as environ
 from os import fsdecode, fsencode
 from shlex import quote
-ModuleNotFoundError = ModuleNotFoundError
-input = input
-range = range
-str_type = str
-int_types = (int,)
+
 
 def hexstr(b):
     """Return hex string (not bytes as with hexlify) representation of b."""
@@ -55,9 +51,6 @@ class pending_raise:
     def __del__(self):
         assert self.closed
 
-def items(x):
-    return x.items()
-
 def argv_bytes(x):
     """Return the original bytes passed to main() for an argv argument."""
     return fsencode(x)