From 7707e0d138802fbde911e38c97e5049e28cf3972 Mon Sep 17 00:00:00 2001 From: Simon de Vlieger Date: Tue, 26 Apr 2022 21:51:53 +0200 Subject: [PATCH] Correct method name typo --- Lib/difflib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/difflib.py b/Lib/difflib.py index afd8a0c7c5b61eb..ba0b256969ebff7 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -837,7 +837,7 @@ def compare(self, a, b): Each sequence must contain individual single-line strings ending with newlines. Such sequences can be obtained from the `readlines()` method of file-like objects. The delta generated also consists of newline- - terminated strings, ready to be printed as-is via the writeline() + terminated strings, ready to be printed as-is via the writelines() method of a file-like object. Example: