]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] GH-101111: Disambigaute origin of const for store_const and append_const ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 20 Jan 2023 22:22:04 +0000 (14:22 -0800)
committerGitHub <noreply@github.com>
Fri, 20 Jan 2023 22:22:04 +0000 (23:22 +0100)
commitefc89f3454d694c003934a29f294ff9f27ed9045
tree020f699df1429ff8577b82b16bbdd450847cfb95
parent1798df2b40e4f5aa91d0f67a1407e9153e258f22
[3.11] GH-101111: Disambigaute origin of const for store_const and append_const (GH-101121) (#101203)

(cherry picked from commit 9a155138c58cad409e28e34359ba87ec0025b6b7)

While the documentation for `optparse` mentioned that both `store_const` and
`append_const` store a constant value, it was not clear where this value was
coming from.

A link to `Option.const` makes this explicit.

Co-authored-by: Jürgen Gmach <juergen.gmach@googlemail.com>
Doc/library/optparse.rst