<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def pretty_req(req):
 """ return a copy of a pip requirement that is a bit more readable, at the expense of removing some of its data """

    from copy import copy
    req = copy(req)
    req.link = None
    req.satisfied_by = None
    return req