]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[doc] configparser: avoid inline comments. (GH-31247)
authorJulien Palard <julien@palard.fr>
Wed, 23 Mar 2022 08:35:33 +0000 (09:35 +0100)
committerGitHub <noreply@github.com>
Wed, 23 Mar 2022 08:35:33 +0000 (09:35 +0100)
commit3ac4e783e077ffd7b51c6acc1591002974644051
tree1f643731ed4f93ef0f3d873fbc1779e5e0f64e6e
parentec8906fb5930b1f078e2a2170cdf445e6c6faf57
[doc] configparser: avoid inline comments. (GH-31247)

People are testing those blocs with the default
inline_comment_prefixes of None, leading to a:

configparser.InterpolationSyntaxError: '$' must be followed by '$' or '{', found: '$ sign ($ is the only character that needs to be escaped)'
Doc/library/configparser.rst