<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def reverseComplement(self, isRNA=None):
 """ Reverse complement this sequence in-place. :param isRNA: if True, treat this sequence as RNA. If False, treat it as DNA. If None (default), inspect the sequence and make a guess as to whether it is RNA or DNA. """

    isRNA_l = self.isRNA() if isRNA is None else isRNA

    tmp = ""
    for n in self.sequenceData:
      if isRNA_l:
        tmp += RNA_COMPLEMENTS[n]
      else:
        tmp += DNA_COMPLEMENTS[n]
    self.sequenceData = tmp[::-1]