[Python-checkins] cpython: make some peps high level sections
benjamin.peterson
python-checkins at python.org
Thu Sep 8 14:58:51 EDT 2016
https://hg.python.org/cpython/rev/e701ca63897e
changeset: 103343:e701ca63897e
user: Benjamin Peterson <benjamin at python.org>
date: Thu Sep 08 11:58:40 2016 -0700
summary:
make some peps high level sections
files:
Doc/whatsnew/3.6.rst | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst
--- a/Doc/whatsnew/3.6.rst
+++ b/Doc/whatsnew/3.6.rst
@@ -223,7 +223,7 @@
.. _pep-529:
PEP 529: Change Windows filesystem encoding to UTF-8
-----------------------------------------------------
+====================================================
Representing filesystem paths is best performed with str (Unicode) rather than
bytes. However, there are some situations where using bytes is sufficient and
@@ -249,7 +249,7 @@
encoding may change before the final release.
PEP 487: Simpler customization of class creation
-------------------------------------------------
+================================================
Upon subclassing a class, the ``__init_subclass__`` classmethod (if defined) is
called on the base class. This makes it straightforward to write classes that
@@ -269,7 +269,7 @@
PYTHONMALLOC environment variable
----------------------------------
+=================================
The new :envvar:`PYTHONMALLOC` environment variable allows setting the Python
memory allocators and/or install debug hooks.
@@ -345,7 +345,7 @@
.. _whatsnew-deforder:
PEP 520: Preserving Class Attribute Definition Order
-----------------------------------------------------
+====================================================
Attributes in a class definition body have a natural ordering: the same
order in which the names appear in the source. This order is now
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list