From: Simon de Vlieger Date: Wed, 27 Apr 2022 21:28:56 +0000 (+0200) Subject: Correct method name typo (#91970) X-Git-Tag: v3.11.0b1~200 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c6b84a727c9299f24edbab4105ce47e9f2bae199;p=thirdparty%2FPython%2Fcpython.git Correct method name typo (#91970) --- diff --git a/Lib/difflib.py b/Lib/difflib.py index afd8a0c7c5b6..ba0b256969eb 100644 --- a/Lib/difflib.py +++ b/Lib/difflib.py @@ -837,7 +837,7 @@ class Differ: 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: