]> 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 09:01:24 +0000 (02:01 -0700)
committerGitHub <noreply@github.com>
Wed, 23 Mar 2022 09:01:24 +0000 (02:01 -0700)
commitf5af1677c06bb4cc006e7f9b30106212e1a00f81
treef74a2433d276fdf24c1618894bb8693bedcbfd77
parent1e4044c74ec70d38331676d8fe8bc98c8edf31de
[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