code: def _parse_incval(incunit, incval):
          ''' Parse a non-day increment value. Should be an integer or a comma-separated integer list. '''
          try:
              retn = [int(val) for val in incval.split(',')]
          except ValueError:
              return None
  
          return retn[0] if len(retn) == 1 else retf _parse_incval(incunit, incval):
          ''' Parse a non-day increment value. Should be an integer or a comma-separated integer list. '''
          try:
              retn = [int(val) for val in incval.split(',')]
          except ValueError:
              return None
  
          return retn[0] if len(retn) == 1 else retn
docs: Parse a non-day increment value. Should be an integer or a comma-separated integer list.