forgetting () after function

Kia A. Arab karab at stsci.edu
Mon Mar 13 12:57:57 EST 2000


I've noticed that if you inadvertantly omit the () at the end of a
function call (that does not need params), python just ignores it, no
warning, no nothing. Does anyone know of a way to catch this somehow to
avoid insidious logic errors that could result, or protect your program
from blowing up down the line?

-- 
____________________________________________________________________________

Kia A. Arab, Software Test Engineer
Space Telescope Science Institute
Engineering & Software Services Division/Software Testing Team
EMAIL: karab at stsci.edu		PHONE: 410-516-8597



More information about the Python-list mailing list