summaryrefslogtreecommitdiff
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-04-27 15:19:43 -0700
committerGitHub <noreply@github.com>2022-04-27 15:19:43 -0700
commite2514cb77fcbdb5c733ae2532802a78e7cb08e79 (patch)
tree79e078707e250613e7078f3e6c08e4ed228827d7 /Lib/difflib.py
parent86e4bdaf493d3d5e0ded31d170eafd2a15a57f8f (diff)
downloadcpython-git-e2514cb77fcbdb5c733ae2532802a78e7cb08e79.tar.gz
Correct method name typo (GH-91970)
(cherry picked from commit c6b84a727c9299f24edbab4105ce47e9f2bae199) Co-authored-by: Simon de Vlieger <cmdr@supakeen.com>
Diffstat (limited to 'Lib/difflib.py')
-rw-r--r--Lib/difflib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/difflib.py b/Lib/difflib.py
index afd8a0c7c5..ba0b256969 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: