Skip to content

Commit c6b84a7

Browse files
authored
Correct method name typo (#91970)
1 parent 43a8bf1 commit c6b84a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/difflib.py

+1-1
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)