del env py

This commit is contained in:
2024-10-11 17:10:34 -07:00
parent 55b630e6c8
commit b010ab0e6d
19334 changed files with 1 additions and 4003544 deletions

View File

@@ -1,12 +0,0 @@
from collections import UserDict
from collections.abc import Mapping
DICT_TYPES = (dict, Mapping, UserDict)
def strencode(instr, encoding="utf-8"):
try:
instr = instr.encode(encoding)
except (UnicodeDecodeError, AttributeError):
pass
return instr