Next / Previous / Contents / Shipman's homepage

14.4. FOR(): Helper function for adding XHTML for attributes

etbuilder.py
# - - -   F O R

def FOR(id):
    '''Helper function for adding 'for=ID' attributes to tags.
    '''
    return {'for': id}