mirror of
https://kkgithub.com/chinese-poetry/chinese-poetry.git
synced 2026-03-14 11:13:41 +08:00
The builtin __reload()__ was moved into [importlib](https://docs.python.org/3/library/importlib.html#importlib.reload) in Python 3 because it was being overused and led to odd behavior that was often difficult to diagnose. Here we are trying to __reload(sys)__ probably because 'utf-8' encoding and Unicode strs are not the default in Python 2. They are however the default in Python 3 so this PR therefor suggests that a __pass__ would be satisfactory in Python 3.
1.1 KiB
1.1 KiB