code: def consume_path_sep(self, i):
          
  
          try:
              if self.bslash_abort:
                  count = -1
                  c = '\\'
                  while c == '\\':
                      count += 1
                      c = next(i)
                  i.rewind(1)
                  # Rewind one more if we have an odd number (escape): \\\*
                  if count > 0 and count % 2:
                      i.rewind(1)
              else:
                  c = '/'
                  while c == '/':
                      c = next(i)
                  i.rewind(1)
          except StopIteration:
              pass
docs: Consume any consecutive path separators are they count as one.