:-))
turns out I found the problem: max was a local integer variable in my
namespace. as such it was obviously not callable....

On 2/7/07, frank h. <[EMAIL PROTECTED]> wrote:

hello all
here is a disturbing session with min() and max() for which I have
absolutely no explanation

>>> t = (952L, 945L, 941L, 939L, 949L, 972L, 956L, 965L, 973L, 965L)
>>> min(t)
939L
>>> max(t)
exceptions.TypeError                                 Traceback (most
recent call last)
TypeError: 'int' object is not callable


why doesn't max(t) work?! I am using python 2.4.4
thanks for any insight you might have
-frank


_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to