What is Python good for?
maxm at normik.dk
Thu Sep 13 10:36:48 CEST 2001
"Ignacio Vazquez-Abrams" <ignacio at openservices.net> wrote in message
> Here's something that came up recently that if it doesn't make you go
> "ooh-ahh", then it will make you go "whoa":
> >>> def a():
> ... return 'abc'
> >>> def b():
> ... return 123
> >>> a.func_code=b.func_code
wouldn't a = b satisfy your need for whoas here ?
> >>> a()
regards Max M
More information about the Python-list