[Checkins] SVN: grok/trunk/src/grok/ftests/lifecycle/create_application.py Corrected some english mistakes in the doctests.
Souheil CHELFOUH
souheil at chelfouh.com
Tue Oct 13 05:32:21 EDT 2009
Log message for revision 105034:
Corrected some english mistakes in the doctests.
Changed:
U grok/trunk/src/grok/ftests/lifecycle/create_application.py
-=-
Modified: grok/trunk/src/grok/ftests/lifecycle/create_application.py
===================================================================
--- grok/trunk/src/grok/ftests/lifecycle/create_application.py 2009-10-13 09:23:58 UTC (rev 105033)
+++ grok/trunk/src/grok/ftests/lifecycle/create_application.py 2009-10-13 09:32:20 UTC (rev 105034)
@@ -21,14 +21,14 @@
Cave <grok.events.ApplicationInitializedEvent object at ...>
As we can see, the events are effectively trigged, and in the right
-order. The function returns the persisted application method.
+order. The function returns the persisted application.
>>> print app
<grok.ftests.lifecycle.create_application.Cave object at ...>
>>> print app.__parent__
<zope.app.folder.folder.Folder object at ...>
-However, if an error occur during the creation process, the exception
+However, if an error occurs during the creation process, the exception
is not caught by `create_application`.
In the case we provide an id that already exists, the exception will
@@ -58,7 +58,7 @@
pass
class Cave(grok.Container, grok.Application):
- """A shelter for the homeless cavemen.
+ """A shelter for homeless cavemen.
"""
pass
More information about the checkins
mailing list