PEP 461: marked as accepted; added comment about using %a instead of %r
This commit is contained in:
parent
75d1dc404c
commit
deab6d864d
|
@ -3,14 +3,14 @@ Title: Adding % formatting to bytes and bytearray
|
||||||
Version: $Revision$
|
Version: $Revision$
|
||||||
Last-Modified: $Date$
|
Last-Modified: $Date$
|
||||||
Author: Ethan Furman <ethan@stoneleaf.us>
|
Author: Ethan Furman <ethan@stoneleaf.us>
|
||||||
Status: Draft
|
Status: Accepted
|
||||||
Type: Standards Track
|
Type: Standards Track
|
||||||
Content-Type: text/x-rst
|
Content-Type: text/x-rst
|
||||||
Created: 2014-01-13
|
Created: 2014-01-13
|
||||||
Python-Version: 3.5
|
Python-Version: 3.5
|
||||||
Post-History: 2014-01-14, 2014-01-15, 2014-01-17, 2014-02-22, 2014-03-25,
|
Post-History: 2014-01-14, 2014-01-15, 2014-01-17, 2014-02-22, 2014-03-25,
|
||||||
2014-03-27
|
2014-03-27
|
||||||
Resolution:
|
Resolution: http://mail.python.org/pipermail/python-dev/2014-March/133621.html
|
||||||
|
|
||||||
|
|
||||||
Abstract
|
Abstract
|
||||||
|
@ -157,7 +157,8 @@ Examples::
|
||||||
Unsupported codes
|
Unsupported codes
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
``%r`` (which calls ``__repr__`` and returns a ``str``) is not supported.
|
``%r`` (which calls ``__repr__`` and returns a ``str``) is not supported
|
||||||
|
(``%a`` is a good alternative, though).
|
||||||
|
|
||||||
|
|
||||||
Compatibility with Python 2
|
Compatibility with Python 2
|
||||||
|
|
Loading…
Reference in New Issue