Next / Previous / Contents / Shipman's homepage

26. block()
# - - -   b l o c k

def block(s, *p, **kw):
    '''Open a block element.

      [ (s is a sox.Sox instance) and
        (p is a sequence of text strings and dictionaries) and
        (kw is a dictionary) ->
          s  +:=  an open block element with attributes made from
                  dictionaries in p and dict-de-camel(kw) and
                  (text strings in p))
          return than element ]
    return s.start("block", *p, **dash(**kw))