def max(*what):
    """ computes max of a given column if argument is of type ITable
        and regular max elsewise.  """

    if isinstance(what[0], ITable): 
        it = what[0]
        return __savedMax([row.get(it.column) for row in it.rows])
    return __savedMax(what)
 computes max of a given column if argument is of type ITable
        and regular max elsewise.  
recipes/Python/286192_Table_objects__operations_SQLlike/recipe-286192.py