Commits

Anonymous committed 95e9177

codeassist: removed out of bound offset check

  • Participants
  • Parent commits ef814b3

Comments (0)

Files changed (1)

rope/contrib/codeassist.py

         self.maxfixes = maxfixes
         self.later_locals = later_locals
         self.word_finder = worder.Worder(source_code, True)
-        offset = min(offset, len(source_code))
         self.expression, self.starting, self.offset = \
             self.word_finder.get_splitted_primary_before(offset)