classification
Title: Incorrect docstring of the ssl module
Type: behavior Stage:
Components: Documentation Versions: Python 3.8, Python 3.7, Python 3.6, Python 3.4, Python 3.5, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: docs@python Nosy List: Ofekmeister, cheryl.sabella, docs@python
Priority: normal Keywords:

Created on 2019-03-10 22:19 by Ofekmeister, last changed 2019-03-10 22:19 by Ofekmeister.

Messages (1)
msg337639 - (view) Author: Ofek Lev (Ofekmeister) * Date: 2019-03-10 22:19
The docstring refers to the function `fetch_server_certificate` that no longer exists. Context from https://github.com/python/cpython/pull/12168#issuecomment-469488585:

"""
In the commit on 8/28/2007, the ssl.py module was first added and it contained the fetch_server_certificate() function. That function was removed with commit r57680 on 8/30/2007. The function get_server_certificate() was added in commit r58164 on 9/18/2007.
...
Additionally, there are more than just 2 functions now, so it seems to me that the entire module docstring should be reviewed and updated to reflect the current state of the module or else it should be removed since it hasn't been kept in sync.
"""
History
Date User Action Args
2019-03-10 22:19:05Ofekmeistercreate