cpython: 2f6ec67636b8 (original) (raw)
Mercurial > cpython
changeset 80992:2f6ec67636b8
Add NEWS and docs for #9856 [#9856]
Andrew Svetlov andrew.svetlov@gmail.com | |
---|---|
date | Sun, 23 Dec 2012 15:12:19 +0200 |
parents | d91c14788729 |
children | 9377a5e97c41 |
files | Doc/library/functions.rst Misc/NEWS |
diffstat | 2 files changed, 7 insertions(+), 0 deletions(-)[+] [-] Doc/library/functions.rst 4 Misc/NEWS 3 |
line wrap: on
line diff
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -543,6 +543,10 @@ are always available. They are listed h
: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`[](#l1.8)
if *format_spec* is not empty string.[](#l1.9)
+ .. _func-frozenset: .. function:: frozenset([iterable])
--- a/Misc/NEWS +++ b/Misc/NEWS @@ -10,6 +10,9 @@ What's New in Python 3.4.0 Alpha 1? Core and Builtins ----------------- +- Issue #9856: Replace deprecation warinigs with raising TypeError