This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Slight punctuation problem in documentation of urllib.request.urlopen
Type: Stage:
Components: Documentation Versions: Python 3.0, Python 3.1
process
Status: closed Resolution: works for me
Dependencies: Superseder:
Assigned To: georg.brandl Nosy List: MLModel, georg.brandl
Priority: normal Keywords:

Created on 2009-03-30 04:17 by MLModel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (2)
msg84489 - (view) Author: Mitchell Model (MLModel) Date: 2009-03-30 04:17
In the documentation of the urllib.request module, the function 
urllib.request.urlretrieve is shown with parameters:
        (url[, data][, timeout])
Shouldn't the right bracket after 'data' be after 'timeout'?
msg84903 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2009-03-31 21:04
Actually, that style is fine as well and even indicates a bit better
that you don't have to give data if you give timeout.

We'll likely try to get the style of writing optional parameters more
consistent in the future.
History
Date User Action Args
2022-04-11 14:56:47adminsetgithub: 49852
2009-03-31 21:04:32georg.brandlsetstatus: open -> closed
resolution: works for me
messages: + msg84903
2009-03-30 04:17:07MLModelcreate