[docs] [issue24109] Documentation for difflib uses optparse

Keith Gray report at bugs.python.org
Fri May 1 21:38:50 CEST 2015


New submission from Keith Gray:

The documentation for optparse states it has been deprecated in favor of argparse since 2.7. However, the library documentation for difflib still uses optparse in the example.

https://docs.python.org/2/library/difflib.html#a-command-line-interface-to-difflib

https://docs.python.org/3.5/library/difflib.html#a-command-line-interface-to-difflib

I am willing to update the documentation if there is agreement that it is needed.

----------
assignee: docs at python
components: Documentation
messages: 242347
nosy: docs at python, idahogray
priority: normal
severity: normal
status: open
title: Documentation for difflib uses optparse
type: enhancement
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue24109>
_______________________________________


More information about the docs mailing list