As per https://docs.python.org/3.11/reference/lexical_analysis.html#encoding-declarations, the default encoding of Python files is UTF-8. In fact, it's been the default encoding since Python 3.0 (released in 2008).
8 lines
114 B
Python
8 lines
114 B
Python
try:
|
|
STRING_TYPE = basestring
|
|
except NameError:
|
|
# Python 3
|
|
STRING_TYPE = str
|
|
|
|
# vim: ai sts=4 et sw=4
|