from os import fsdecode, fsencode
from shlex import quote
-range = range
-str_type = str
-int_types = (int,)
def hexstr(b):
"""Return hex string (not bytes as with hexlify) representation of b."""
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)