diff options
-rw-r--r-- | Doc/library/stdtypes.rst | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/stdtypes.rst b/Doc/library/stdtypes.rst index 0a3ba99..ebe7b76 100644 --- a/Doc/library/stdtypes.rst +++ b/Doc/library/stdtypes.rst @@ -1040,7 +1040,7 @@ functions based on regular expressions. .. method:: str.format_map(mapping) - Similar to ``str.forrmat(**mapping)``, except that ``mapping`` is + Similar to ``str.format(**mapping)``, except that ``mapping`` is used directly and not copied to a :class:`dict` . This is useful if for example ``mapping`` is a dict subclass. |