X Tutup
Skip to content

Commit cd5e805

Browse files
committed
added documentation
1 parent 90a77ab commit cd5e805

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

telegram/utils/request.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ def post(url,
7979
Returns:
8080
A JSON object.
8181
"""
82+
83+
# Add one second to the timeout of urlopen to allow data to be transferred
84+
# over the network.
8285
if "timeout" in data:
8386
timeout = data["timeout"] + 1.
8487
else:

0 commit comments

Comments
 (0)
X Tutup