]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[doc] configparser: avoid inline comments. (GH-31247)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 23 Mar 2022 08:58:49 +0000 (01:58 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Mar 2022 08:58:49 +0000 (01:58 -0700)
commit832be8f1d4c5f62623e382dd0df8fe3f38079040
tree35b8f54987413662ef060d9b5e63b763ba3c923d
parentca6acb8b31372efdbd7856f34a899104fd0c15b5
[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)'
(cherry picked from commit 3ac4e783e077ffd7b51c6acc1591002974644051)

Co-authored-by: Julien Palard <julien@palard.fr>
Doc/library/configparser.rst