[Zope3-checkins] SVN: Zope3/trunk/src/zope/ Fix common typo: it's
picklable, not pickable.
Philipp von Weitershausen
philikon at philikon.de
Thu Oct 20 09:40:12 EDT 2005
Log message for revision 39535:
Fix common typo: it's picklable, not pickable.
Changed:
U Zope3/trunk/src/zope/app/component/site.txt
U Zope3/trunk/src/zope/app/presentation/registration.py
U Zope3/trunk/src/zope/app/session/interfaces.py
U Zope3/trunk/src/zope/i18n/format.py
-=-
Modified: Zope3/trunk/src/zope/app/component/site.txt
===================================================================
--- Zope3/trunk/src/zope/app/component/site.txt 2005-10-20 13:31:40 UTC (rev 39534)
+++ Zope3/trunk/src/zope/app/component/site.txt 2005-10-20 13:40:12 UTC (rev 39535)
@@ -341,7 +341,7 @@
Finally, we make a copy of `myfolder21` and add it as `myfolder11` to
`myfolder`:
- # Make sure that our interfaces and classes are pickable.
+ # Make sure that our interfaces and classes are picklable.
>>> sys.modules['zope.app.component.tests'].IMyUtility = IMyUtility
>>> IMyUtility.__module__ = 'zope.app.component.tests'
Modified: Zope3/trunk/src/zope/app/presentation/registration.py
===================================================================
--- Zope3/trunk/src/zope/app/presentation/registration.py 2005-10-20 13:31:40 UTC (rev 39534)
+++ Zope3/trunk/src/zope/app/presentation/registration.py 2005-10-20 13:40:12 UTC (rev 39535)
@@ -50,7 +50,7 @@
def __init__(self, name, required=None, permission=None,
factoryName=None, template=None, attribute=None):
# An interface coming out of an interface widget is security
- # proxied which is not pickable, thus remove the proxies here
+ # proxied which is not picklable, thus remove the proxies here
self.required = removeSecurityProxy(required)
self.factoryName = factoryName
self.name = name
Modified: Zope3/trunk/src/zope/app/session/interfaces.py
===================================================================
--- Zope3/trunk/src/zope/app/session/interfaces.py 2005-10-20 13:31:40 UTC (rev 39534)
+++ Zope3/trunk/src/zope/app/session/interfaces.py 2005-10-20 13:40:12 UTC (rev 39535)
@@ -145,7 +145,7 @@
"""Storage for a particular product id and browser id's session data
Data is stored persistently and transactionally. Data stored must
- be persistent or pickable.
+ be persistent or picklable.
"""
Modified: Zope3/trunk/src/zope/i18n/format.py
===================================================================
--- Zope3/trunk/src/zope/i18n/format.py 2005-10-20 13:31:40 UTC (rev 39534)
+++ Zope3/trunk/src/zope/i18n/format.py 2005-10-20 13:40:12 UTC (rev 39535)
@@ -138,7 +138,7 @@
if length == 1:
hours, mins = int(value[:-2]), int(value[-2:])
delta = datetime.timedelta(hours=hours, minutes=mins)
- # XXX: I think this is making an unpickable tzinfo.
+ # XXX: I think this is making an unpicklable tzinfo.
# Note that StaticTzInfo is not part of the exposed pytz API.
tzinfo = pytz.tzinfo.StaticTzInfo()
tzinfo._utcoffset = delta
@@ -146,7 +146,7 @@
elif length == 2:
hours, mins = int(value[:-3]), int(value[-2:])
delta = datetime.timedelta(hours=hours, minutes=mins)
- # XXX: I think this is making an unpickable tzinfo.
+ # XXX: I think this is making an unpicklable tzinfo.
# Note that StaticTzInfo is not part of the exposed pytz API.
tzinfo = pytz.tzinfo.StaticTzInfo()
tzinfo._utcoffset = delta
More information about the Zope3-Checkins
mailing list