Hello all,
    I need some help to understand a getattr syntax. The syntax is:

try:
    getattr(self, command)(cursor, row)
except Exception, e:
    print "Action failed : '%s'" % command
    raise e

I don't understand why is not like this: a = getattr(), and what are
the scope of the second (): (cursor, row)

Thanks.
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to