[Python-checkins] peps: PEP 460: mention that __format__ isn't called

antoine.pitrou python-checkins at python.org
Fri Jan 10 10:11:01 CET 2014


http://hg.python.org/peps/rev/639204b77d80
changeset:   5342:639204b77d80
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Fri Jan 10 10:10:56 2014 +0100
summary:
  PEP 460: mention that __format__ isn't called

files:
  pep-0460.txt |  2 ++
  1 files changed, 2 insertions(+), 0 deletions(-)


diff --git a/pep-0460.txt b/pep-0460.txt
--- a/pep-0460.txt
+++ b/pep-0460.txt
@@ -101,6 +101,8 @@
 or alignment.  Besides, ``str`` objects are not acceptable as arguments
 to the formatting operations, even when using e.g. the ``%s`` format code.
 
+``__format__`` isn't called.
+
 
 Criticisms
 ==========

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list