Scope of instantiated class

Jeff Layton jeffrey.b.layton at lmco.com
Sun Jul 21 11:00:54 EDT 2002


Hello,

    If I instantiate a class in a function,
leave the function via a return and then
go back to the same function, will the
instantiation of the class still be there
or is it local to the function so it is
"destroyed"? (Does this make any sense?)

TIA,

Jeff




More information about the Python-list mailing list