summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-05-25 13:46:41 (GMT)
committerGitHub <noreply@github.com>2024-05-25 13:46:41 (GMT)
commitf49749cf8f61db0182304c00d6a4ee1b5e361766 (patch)
treea1e6d8d859c87aa68d8f41f8267cb0405c6ca37b /Objects
parent55446513509be4c6fa0b0e3eb6f9c9cc3b3d0bdd (diff)
downloadcpython-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.c2
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\