reaching hidden methods + casting
per9000 at gmail.com
Thu Apr 12 14:00:26 CEST 2007
On 12 Apr, 09:42, "Gabriel Genellina" <gagsl-... at yahoo.com.ar> wrote:
> > In f.x. the C-family of languages I guess something like this would
> > call B.spin:
> > ((B)myC).spin("Lancelot"); // almost forgot the ';'
> Try this in Python:
> B.spin(myC, "Lancelot")
Thanks, that was exactly the insight i needed.
Per Erik Strandberg
More information about the Python-list