[Zope3-checkins] SVN: Zope3/trunk/src/zope/ Minor documentation
fixes.
Gustavo Niemeyer
gustavo at niemeyer.net
Wed Aug 30 09:43:44 EDT 2006
Log message for revision 69888:
Minor documentation fixes.
Changed:
U Zope3/trunk/src/zope/app/component/contentdirective.py
U Zope3/trunk/src/zope/component/registry.txt
U Zope3/trunk/src/zope/security/checker.py
-=-
Modified: Zope3/trunk/src/zope/app/component/contentdirective.py
===================================================================
--- Zope3/trunk/src/zope/app/component/contentdirective.py 2006-08-30 13:12:33 UTC (rev 69887)
+++ Zope3/trunk/src/zope/app/component/contentdirective.py 2006-08-30 13:43:44 UTC (rev 69888)
@@ -72,7 +72,7 @@
def require(self, _context,
permission=None, attributes=None, interface=None,
like_class=None, set_attributes=None, set_schema=None):
- """Require a the permission to access a specific aspect"""
+ """Require a permission to access a specific aspect"""
if like_class:
self.__mimic(_context, like_class)
Modified: Zope3/trunk/src/zope/component/registry.txt
===================================================================
--- Zope3/trunk/src/zope/component/registry.txt 2006-08-30 13:12:33 UTC (rev 69887)
+++ Zope3/trunk/src/zope/component/registry.txt 2006-08-30 13:43:44 UTC (rev 69888)
@@ -239,9 +239,8 @@
Registered event:
AdapterRegistration(<Components comps>, [I1, I2], IA2, u'', A12_, u'')
-If the required interface needs to be specified in the
-registration if the factory doesn't have a __component_adapts__
-attribute:
+The required interface needs to be specified in the registration if
+the factory doesn't have a __component_adapts__ attribute:
>>> components.registerAdapter(tests.A_2)
... # doctest: +NORMALIZE_WHITESPACE
Modified: Zope3/trunk/src/zope/security/checker.py
===================================================================
--- Zope3/trunk/src/zope/security/checker.py 2006-08-30 13:12:33 UTC (rev 69887)
+++ Zope3/trunk/src/zope/security/checker.py 2006-08-30 13:43:44 UTC (rev 69888)
@@ -585,7 +585,7 @@
class BasicTypes(dict):
"""Basic Types Dictionary
- Make sure that the checkers a really updated, when a new type is added.
+ Make sure that checkers are really updated, when a new type is added.
"""
def __setitem__(self, name, value):
super(BasicTypes.__class__, self).__setitem__(name, value)
More information about the Zope3-Checkins
mailing list