Standalone Python functions in UML?

bruno at modulix onurb at xiludom.gro
Tue Apr 4 12:44:16 EDT 2006


Ravi Teja wrote:
(snip)
>>>More theoretical question is if I create classes on the fly, how UML can
> 
> reflect that?
> 
> "On the fly" usually means "at runtime". I guess you mean if you
> "change code" will my diagram stay in sync?.

Nope, the OP really meant "on the fly", as in "at runtime". In python,
it is possible to create new classes at runtime. Remember,
everything-is-an-object implies that classes are objects too.

-- 
bruno desthuilliers
python -c "print '@'.join(['.'.join([w[::-1] for w in p.split('.')]) for
p in 'onurb at xiludom.gro'.split('@')])"



More information about the Python-list mailing list