[issue37256] urllib.request.Request documentation erroneously refers to the "final two"
Alan De Smet
report at bugs.python.org
Wed Jun 12 15:12:35 EDT 2019
New submission from Alan De Smet <aadesmet at wisc.edu>:
In Doc/library/urllib.request.rst, in the documentation for the class `Request`, it says
```
The final two arguments are only of interest for correct handling
of third-party HTTP cookies:
```
However, three arguments follow, not two, and the last is not necessarily related to third-party cookie handling.
I believe replacing "final" with "next" will correct the sentence:
```
The next two arguments are only of interest for correct handling
of third-party HTTP cookies:
```
Verified present in the source releases for CPython 3.5.7, 3.6.8, 3.7.3, 3.8.0b1. It is _not_ present in 2.7.16 (as the third parameter didn't yet exist, so the existing phrasing is correct.)
----------
assignee: docs at python
components: Documentation
messages: 345403
nosy: Alan De Smet, docs at python
priority: normal
severity: normal
status: open
title: urllib.request.Request documentation erroneously refers to the "final two"
type: enhancement
versions: Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37256>
_______________________________________
More information about the Python-bugs-list
mailing list