| Home | Trees | Index | Help |
|
|---|
| Module pyweb :: Class attr |
|
Convenience class which allows a list of tag attributes to be put first during tag construction, instead of at the end as is normally required by python syntax.
Example:
table(tr(td("top row")),
tr(td("bottom row")),
cellspacing=5, cellpadding=5, border=2)
table(attr(cellspacing=5, cellpadding=5, border=2),
tr(td("top row")),
tr(td("bottom row")),
)
| Method Summary | |
|---|---|
attr object constructor. | |
| Method Details |
|---|
__init__(self,
**kw)
attr object constructor. Refer class docstring
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Sat Feb 7 20:08:06 2004 | http://epydoc.sf.net |