TagBody¶
-
class
support.HTML.
TagBody
(*args, **kwargs)¶ Bases:
object
superclass for HTML tag classes
Methods Summary
render
()convert self to str
str_if_needed
(obj)converts obj to str for output
Methods Documentation
-
render
()¶ convert self to str
- The following attributes are not converted to HTML attributes::
tag - tag name logger - logging.Logger text - accumulates the HTML text content - what was passed in ‘args’ when initialized enclose - tag contents all on one line
-
str_if_needed
(obj)¶ converts obj to str for output
-