[Checkins] SVN: z3c.form/trunk/src/z3c/form/form.txt PEP-8 spacing
for the % operator; a couple of ReStructuredText rendering
Marius Gedminas
marius at pov.lt
Fri Sep 28 11:36:30 EDT 2007
Log message for revision 80330:
PEP-8 spacing for the % operator; a couple of ReStructuredText rendering
issues.
Changed:
U z3c.form/trunk/src/z3c/form/form.txt
-=-
Modified: z3c.form/trunk/src/z3c/form/form.txt
===================================================================
--- z3c.form/trunk/src/z3c/form/form.txt 2007-09-28 15:29:30 UTC (rev 80329)
+++ z3c.form/trunk/src/z3c/form/form.txt 2007-09-28 15:36:30 UTC (rev 80330)
@@ -67,7 +67,7 @@
... self.age = age
...
... def __repr__(self):
- ... return '<%s %r>' %(self.__class__.__name__, self.name)
+ ... return '<%s %r>' % (self.__class__.__name__, self.name)
Okay, that should suffice for now.
@@ -76,7 +76,7 @@
most projects, the default add form of ``z3c.form`` requires you to define the
creation and adding mechanism.
-__Note__:
+**Note**:
If it is not done, ``NotImplementedError[s]`` are raised:
@@ -186,10 +186,12 @@
>>> age = addForm.widgets['age']
# field.title -> age.label
+
>>> age.label
u'Age'
# field.required -> age.required
+
>>> age.required
False
More information about the Checkins
mailing list