-
Yuya Nishihara authored
Also, adds type annotation to help pytype. This fixes the following false positives: line 793, in update_diff: Built-in function len was called with the wrong arguments [wrong-arg-types] Expected: (obj: Sized) Actually passed: (obj: None) The following methods aren't implemented on None: __len__ line 796, in update_diff: Function SequenceMatcher.__init__ was called with the wrong arguments [wrong-arg-types] Expected: (self, isjunk, a: Sequence = ..., ...) Actually passed: (self, isjunk, a: None, ...) The following methods aren't implemented on None: __getitem__, __len__ line 802, in update_diff: Function str.join was called with the wrong arguments [wrong-arg-types] Expected: (self, iterable: Iterable) Actually passed: (self, iterable: None) The following methods aren't implemented on None: __iter__
83c1d0faf86e