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