mirror of
https://github.com/corpnewt/gibMacOS.git
synced 2024-04-21 12:31:48 +00:00
Also simplify by defining basestring and unicode in Python 3 Python porting best practice [___use feature detection instead of version detection___](https://docs.python.org/3/howto/pyporting.html#use-feature-detection-instead-of-version-detection). Bare exceptions: https://realpython.com/the-most-diabolical-python-antipattern __basestring__ and __unicode__ was removed in Python 3 because all str are Unicode utf-8.