<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:

def _format_entrypoint_target(ep):
    '''
    Makes a string describing the target of an EntryPoint object.

    Base strongly on EntryPoint.__str__().
    '''
    s = ep.module_name
    if ep.attrs:
        s += ':' + '.'.join(ep.attrs)
    return s