Container Objects Enforcing Contents

jim kraai jkraai at
Wed Feb 13 18:28:33 EST 2002


I'm looking for suggestions on making container objects which must,
may, or must not allow particular kinds of container objects to be

Any suggestions on a general approach for this?

The target app is not very exciting--an HTML generator that should be
able to guarantee that if no exceptions are raised, the HTML is valid.



More information about the Python-list mailing list