Skip to content

Commit

Permalink
Fixed typo in docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentfretin committed Sep 23, 2009
1 parent 3537233 commit 377e567
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/z3c/form/interfaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -344,24 +344,24 @@ class IBoolTerms(ITerms):
# ----[ Object factory ]-----------------------------------------------------

class IObjectFactory(zope.interface.Interface):
"""Factory that will instatiate our objects for ObjectWidget
"""Factory that will instantiate our objects for ObjectWidget.
It could also pre-populate properties as it gets the values extracted
from the form passed in ``value``
from the form passed in ``value``.
"""

def __call__(value):
"""return a default object created to be populated
"""Return a default object created to be populated.
"""


# ----[ Subform factory ]-----------------------------------------------------

class ISubformFactory(zope.interface.Interface):
"""Factory that will instatiate our subforms for ObjectWidget
"""Factory that will instantiate our subforms for ObjectWidget.
"""

def __call__():
"""return a default object created to be populated
"""Return a default object created to be populated.
"""


Expand Down

0 comments on commit 377e567

Please sign in to comment.