[enhancement] move hardcoded encodings to contants by elpekenin · Pull Request #4378 · python-telegram-bot/python-telegram-bot
Didn't change the hardcoded utf-8 in docs/source/conf.py, to prevent making it depend further on the project, can add the changes there too if desired
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! changing conf.py probably doesn't give a big benefit, also considerding that the import can't bee at the top … LGTM :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters