mirror of
https://github.com/python/cpython.git
synced 2025-11-13 15:40:05 +00:00
Add NEWS and docs for #9856
This commit is contained in:
parent
2cd8ce4690
commit
0794fe0356
2 changed files with 7 additions and 0 deletions
|
|
@ -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
|
:exc:`TypeError` exception is raised if the method is not found or if either
|
||||||
the *format_spec* or the return value are not strings.
|
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:
|
.. _func-frozenset:
|
||||||
.. function:: frozenset([iterable])
|
.. function:: frozenset([iterable])
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,9 @@ What's New in Python 3.4.0 Alpha 1?
|
||||||
Core and Builtins
|
Core and Builtins
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
- Issue #9856: Replace deprecation warinigs with raising TypeError
|
||||||
|
in object.__format__. Patch by Florent Xicluna.
|
||||||
|
|
||||||
- Issue #16597: In buffered and text IO, call close() on the underlying stream
|
- Issue #16597: In buffered and text IO, call close() on the underlying stream
|
||||||
if invoking flush() fails.
|
if invoking flush() fails.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue