mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00

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).
7 lines
114 B
Python
7 lines
114 B
Python
try:
|
|
STRING_TYPE = basestring
|
|
except NameError:
|
|
# Python 3
|
|
STRING_TYPE = str
|
|
|
|
# vim: ai sts=4 et sw=4
|