Python compilers?

Paul Rubin http
Wed May 19 00:53:58 EDT 2004


Carl Banks <imbosol at aerojockey.invalid> writes:
> I don't follow you.  In what way is Python dynamic that Lisp isn't?


>>> class foo:
...   def bar(self, x):
...     return x*x
... 
>>> a = foo()
>>> a.bar(3)
9
>>> a.bar = lambda x: x*x*x
>>> a.bar(3)
27
>>> 



More information about the Python-list mailing list