mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2024-12-22 22:45:09 +01:00
include in warning that Py2.7 will still be supported
This commit is contained in:
parent
80fbe98b44
commit
ff00e211d7
1 changed files with 1 additions and 1 deletions
|
@ -104,4 +104,4 @@ __all__ = ['Audio', 'Bot', 'Chat', 'ChatMember', 'ChatAction', 'ChosenInlineResu
|
|||
if version_info < (2, 7):
|
||||
from warnings import warn
|
||||
warn("python-telegram-bot will stop supporting Python 2.6 in a future release. "
|
||||
"Please upgrade your Python!")
|
||||
"Please upgrade your Python version to at least Python 2.7!")
|
||||
|
|
Loading…
Reference in a new issue