<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def compatibility_or_constraints(self, target):
 """ Return either the compatibility of the given target, or the interpreter constraints. If interpreter constraints are supplied by the CLI flag, return those only. """

    if self.get_options().is_flagged('interpreter_constraints'):
      return tuple(self.interpreter_constraints)
    return tuple(target.compatibility or self.interpreter_constraints)