summaryrefslogtreecommitdiffstats
path: root/Lib/difflib.py
diff options
context:
space:
mode:
authorSimon de Vlieger <cmdr@supakeen.com>2022-04-27 21:28:56 (GMT)
committerGitHub <noreply@github.com>2022-04-27 21:28:56 (GMT)
commitc6b84a727c9299f24edbab4105ce47e9f2bae199 (patch)
tree907d062ea3fc25d27065dd1573f41193f25dec94 /Lib/difflib.py
parent43a8bf1ea43127aa0d4d05f9db74827899808266 (diff)
downloadcpython-c6b84a727c9299f24edbab4105ce47e9f2bae199.zip
cpython-c6b84a727c9299f24edbab4105ce47e9f2bae199.tar.gz
cpython-c6b84a727c9299f24edbab4105ce47e9f2bae199.tar.bz2
Correct method name typo (#91970)
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 afd8a0c..ba0b256 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: