(cursor)
return Result(*row)
Return one row from a cursor as a namedtuple
Return one row from a cursor as a namedtuple
Return one row from a cursor as a namedtuple
def fetchone_as_namedtuple(cursor):
    "Return one row from a cursor as a namedtuple"
    Result = _namedtuple_from_cursor(cursor)
    row = cursor.fetchone()
    return Result(*row)
def fetchone_as_namedtuple ( cursor ) : Result = _namedtuple_from_cursor ( cursor ) row = cursor . fetchone ( ) return Result ( * row )