[CalendarServer-changes] [12390] twext/trunk/twext/python/types.py
source_changes at macosforge.org
source_changes at macosforge.org
Wed Mar 12 11:21:48 PDT 2014
Revision: 12390
http://trac.calendarserver.org//changeset/12390
Author: wsanchez at apple.com
Date: 2014-01-17 15:34:52 -0800 (Fri, 17 Jan 2014)
Log Message:
-----------
More doc
Modified Paths:
--------------
twext/trunk/twext/python/types.py
Modified: twext/trunk/twext/python/types.py
===================================================================
--- twext/trunk/twext/python/types.py 2014-01-17 23:28:30 UTC (rev 12389)
+++ twext/trunk/twext/python/types.py 2014-01-17 23:34:52 UTC (rev 12390)
@@ -30,6 +30,10 @@
entries, which means that when the mapping changes, the view reflects these
changes.
+ Note that for an ummutable mapping, one would have to prevent modifications
+ to the underlying mapping. Note also that mutable values remain mutable
+ when accessed via a proxy.
+
Backport of Python 3's L{types.MappingProxyType
<http://docs.python.org/dev/library/types.html#types.MappingProxyType>}.
"""
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20140312/899aca58/attachment.html>
More information about the calendarserver-changes
mailing list