How to mix-in __getattr__ after the fact?
DevPlayer
devplayer at gmail.com
Wed Nov 2 01:50:48 EDT 2011
On Oct 31, 8:01 am, dhyams <dhy... at gmail.com> wrote:
> Thanks for all of the responses; everyone was exactly correct, and
> obeying the binding rules for special methods did work in the example
> above. Unfortunately, I only have read-only access to the class
> itself (it was a VTK class wrapped with SWIG), so I had to find
> another way to accomplish what I was after.
>
Please share what you found as the other way.
More information about the Python-list
mailing list