mirror of
https://github.com/python-telegram-bot/python-telegram-bot.git
synced 2025-03-16 12:25:45 +01:00
added documentation
This commit is contained in:
parent
90a77ab7a1
commit
cd5e805692
1 changed files with 3 additions and 0 deletions
|
@ -79,6 +79,9 @@ def post(url,
|
|||
Returns:
|
||||
A JSON object.
|
||||
"""
|
||||
|
||||
# Add one second to the timeout of urlopen to allow data to be transferred
|
||||
# over the network.
|
||||
if "timeout" in data:
|
||||
timeout = data["timeout"] + 1.
|
||||
else:
|
||||
|
|
Loading…
Add table
Reference in a new issue