<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def query_proc_row(procname, args=(), factory=None):
 """ Execute a stored procedure. Returns the first row of the result set, or `None`. """

    for row in query_proc(procname, args, factory):
        return row
    return None