diff options
author | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-23 13:12:19 (GMT) |
---|---|---|
committer | Andrew Svetlov <andrew.svetlov@gmail.com> | 2012-12-23 13:12:19 (GMT) |
commit | 0794fe0356fe58a7b7308a3aa872d9ea7d69a585 (patch) | |
tree | 1444a323e9e31c9876e97d2250d64bcc3ce532ae /Doc/library/functions.rst | |
parent | 2cd8ce469021e851f4ab70106d696136ecddcd51 (diff) | |
download | cpython-0794fe0356fe58a7b7308a3aa872d9ea7d69a585.zip cpython-0794fe0356fe58a7b7308a3aa872d9ea7d69a585.tar.gz cpython-0794fe0356fe58a7b7308a3aa872d9ea7d69a585.tar.bz2 |
Add NEWS and docs for #9856
Diffstat (limited to 'Doc/library/functions.rst')
-rw-r--r-- | Doc/library/functions.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 07765ce..c52dc06 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -543,6 +543,10 @@ are always available. They are listed here in alphabetical order. :exc:`TypeError` exception is raised if the method is not found or if either the *format_spec* or the return value are not strings. + .. versionadded:: 3.4 + ``object().__format__(format_spec)`` raises :exc:`TypeError` + if *format_spec* is not empty string. + .. _func-frozenset: .. function:: frozenset([iterable]) |