diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-03 18:18:43 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-11-03 18:18:43 (GMT) |
commit | 4103bc09a4326a4ffd8d2dbc60a01d256d18b1f7 (patch) | |
tree | a5d8a116d3ebb5ec2a42bf6f55a6156bd168fd62 /Doc | |
parent | 33d144aa36ee8afb2f9a8c0b081e6f24591106ab (diff) | |
download | cpython-4103bc09a4326a4ffd8d2dbc60a01d256d18b1f7.zip cpython-4103bc09a4326a4ffd8d2dbc60a01d256d18b1f7.tar.gz cpython-4103bc09a4326a4ffd8d2dbc60a01d256d18b1f7.tar.bz2 |
Issue #10281: nntplib now returns None for absent fields in the OVER/XOVER
response, instead of raising an exception.
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/nntplib.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/nntplib.rst b/Doc/library/nntplib.rst index 69adffb..0f0b7d2 100644 --- a/Doc/library/nntplib.rst +++ b/Doc/library/nntplib.rst @@ -252,6 +252,8 @@ response indicates an error, the method raises one of the above exceptions. (including headers and body) * the ``:lines`` metadata: the number of lines in the article body + The value of each item is either a string, or :const:`None` if not present. + It is advisable to use the :func:`decode_header` function on header values when they may contain non-ASCII characters:: |