diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-05-25 13:46:41 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-25 13:46:41 (GMT) |
commit | f49749cf8f61db0182304c00d6a4ee1b5e361766 (patch) | |
tree | a1e6d8d859c87aa68d8f41f8267cb0405c6ca37b /Objects | |
parent | 55446513509be4c6fa0b0e3eb6f9c9cc3b3d0bdd (diff) | |
download | cpython-f49749cf8f61db0182304c00d6a4ee1b5e361766.zip cpython-f49749cf8f61db0182304c00d6a4ee1b5e361766.tar.gz cpython-f49749cf8f61db0182304c00d6a4ee1b5e361766.tar.bz2 |
[3.13] gh-111999: Fix the signature of str.format_map() (GH-119540) (#119543)
(cherry picked from commit 08e65430aafa1047029e6f132a5f748c415bda14)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 480b671..c8a0728 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c @@ -13411,7 +13411,7 @@ Return a formatted version of the string, using substitutions from args and kwar The substitutions are identified by braces ('{' and '}')."); PyDoc_STRVAR(format_map__doc__, - "format_map($self, /, mapping)\n\ + "format_map($self, mapping, /)\n\ --\n\ \n\ Return a formatted version of the string, using substitutions from mapping.\n\ |