[Python-checkins] peps: Add a ``transform_func`` property

antoine.pitrou python-checkins at python.org
Sat Sep 14 20:01:40 CEST 2013


http://hg.python.org/peps/rev/d0f2e932e13a
changeset:   5114:d0f2e932e13a
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sat Sep 14 20:01:00 2013 +0200
summary:
  Add a ``transform_func`` property

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


diff --git a/pep-0455.txt b/pep-0455.txt
--- a/pep-0455.txt
+++ b/pep-0455.txt
@@ -113,6 +113,12 @@
 The method name ``getitem()`` mirrors the standard ``popitem()`` method
 on mutable mappings.
 
+Getting the transformation function
+-----------------------------------
+
+TransformDict has a simple read-only property ``transform_func`` which
+gives back the transformation function.
+
 
 Alternative proposals and questions
 ===================================

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


More information about the Python-checkins mailing list