"no variable or argument declarations are necessary."

Fredrik Lundh fredrik at pythonware.com
Fri Oct 7 10:15:31 EDT 2005


"Christophe" wrote:

> I mean, why not ? Why does the compiler let me do that when you know
> perfectly that that code is incorrect :

> def f():
>       return "a" + 5

probably because the following set is rather small:

    bugs caused by invalid operations involving only literals, that are not
    discovered during initial testing

</F> 






More information about the Python-list mailing list