<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def limit(self, limit):
 """ Apply a LIMIT to the query and return the newly resulting Query. """

        query = self._copy()
        query._limit = limit
        return query