Calling Function Without Parentheses!

Kamilche klachemin at comcast.net
Sun Jan 2 20:26:24 EST 2005


What a debug nightmare! I just spent HOURS running my script through
the debugger, sprinkling in log statements, and the like, tracking down
my problem.

I called a function without the ending parentheses. I sure do WISH
Python would trap it when I try to do the following:
MyFunc

instead of:

MyFunc()

aaaaaaaaaaaah.




More information about the Python-list mailing list