.. an example of code
.. $Id: literal_block.rst 7352 2012-02-14 03:24:13Z paultremblay $
Python code is below::
def make_attribute_set(the_name, the_dict):
sys.stdout.write('\n' % (the_name))
the_keys = the_dict.keys()
the_keys.sort()
for the_key in the_keys:
sys.stdout.write(' ' % (the_key))
sys.stdout.write(the_dict[the_key])
sys.stdout.write('\n')
sys.stdout.write('\n\n')
sys.stdout.write("""
""" % (stylesheet))