0

While debugging I want to know if, at some point, I am holding an instance of a particular class. I want to iterate over all the variables that I currently have any reference to, filter them with isinstance, and then, if I find an instance of that class, then I will decide if it's good practice or not to use it there.

It's basically just a quick and dirty way to explore my options and discover things about code I'm only getting into.

jonrsharpe
  • 115,751
  • 26
  • 228
  • 437
LoneCodeRanger
  • 413
  • 6
  • 18

0 Answers0