system.py 136 B

1234567
  1. from sys import getdefaultencoding
  2. SYS_ENCODING = getdefaultencoding()
  3. def decode(b: bytes) -> str:
  4. return b.decode(SYS_ENCODING)