On Tue, Feb 1, 2011 at 6:04 AM, Laszlo Nagy <gand...@shopzeus.com> wrote: > How should I represent a Python metaclass on an UML class diagram? I know > how to represent composition, aggregation and inheritance. But not sure > about metaclasses. What kind of arrow or line should I use between a class > and its metaclass? Is there a standard for this?
IHMO (but others may have other opinions) the same way you'd represent a decorated function. Metaclasses IHMO have the same effect as a decorated function - modifying another classes's behavior. cheers Jaes -- -- James Mills -- -- "Problems are solved by method" -- http://mail.python.org/mailman/listinfo/python-list