]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Correct method name typo (#91970)
authorSimon de Vlieger <cmdr@supakeen.com>
Wed, 27 Apr 2022 21:28:56 +0000 (23:28 +0200)
committerGitHub <noreply@github.com>
Wed, 27 Apr 2022 21:28:56 +0000 (15:28 -0600)
Lib/difflib.py

index afd8a0c7c5b61eb7b8bdf3931f47ce2c3d54eacd..ba0b256969ebff7cdc23ef2c51df29107ad2d867 100644 (file)
@@ -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: