]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-134109: Fix showing comments in pydoc output for argparse (GH-134110)
authorSerhiy Storchaka <storchaka@gmail.com>
Fri, 16 May 2025 20:29:14 +0000 (23:29 +0300)
committerGitHub <noreply@github.com>
Fri, 16 May 2025 20:29:14 +0000 (23:29 +0300)
commit71cf4dd622832848cace358a7f8444243afd2e83
tree64cbedc844e07374687328d9ce5f3d66d1b4a7e0
parentea2d707bd59963bd4f53407108026930ff12ae56
gh-134109: Fix showing comments in pydoc output for argparse (GH-134110)

Comments immediately preceding the object's source code are used
if the object has no docstring.
Comments that do not describe the object should be separated from
the following source code by an empty line.
Lib/argparse.py