Get all the instances of one class

Ben Finney bignose+hates-spam at benfinney.id.au
Fri May 16 19:53:28 EDT 2008


Terry <terry.yinzhe at gmail.com> writes:

> Is there a simple way to get all the instances of one class?

Define "all". All the instances in the current scope?

Perhaps more pertinent: What problem are you trying to address?

-- 
 \         “We demand rigidly defined areas of doubt and uncertainty!” |
  `\            —Vroomfondel, _The Hitch-Hiker's Guide To The Galaxy_, |
_o__)                                                    Douglas Adams |
Ben Finney



More information about the Python-list mailing list