Skip to content

Commit e2514cb

Browse files
Correct method name typo (GH-91970)
(cherry picked from commit c6b84a7) Co-authored-by: Simon de Vlieger <[email protected]>
1 parent 86e4bda commit e2514cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/difflib.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ def compare(self, a, b):
837837
Each sequence must contain individual single-line strings ending with
838838
newlines. Such sequences can be obtained from the `readlines()` method
839839
of file-like objects. The delta generated also consists of newline-
840-
terminated strings, ready to be printed as-is via the writeline()
840+
terminated strings, ready to be printed as-is via the writelines()
841841
method of a file-like object.
842842
843843
Example:

0 commit comments

Comments
 (0)