diff options
author | Jakob Weigert <jakobjw@users.noreply.github.com> | 2022-09-28 17:46:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 17:46:09 (GMT) |
commit | 81b9d9ddc20837ecd19f41b764e3f33d8ae805d5 (patch) | |
tree | 0d662c20e5722dd6df39157597a8e88375f1f9e2 /Lib/plistlib.py | |
parent | 575a253b5c203e8d2ebfd239ed5a613179f8984f (diff) | |
download | cpython-81b9d9ddc20837ecd19f41b764e3f33d8ae805d5.zip cpython-81b9d9ddc20837ecd19f41b764e3f33d8ae805d5.tar.gz cpython-81b9d9ddc20837ecd19f41b764e3f33d8ae805d5.tar.bz2 |
Fix typo in error message in plistlib (GH-97540)
Diffstat (limited to 'Lib/plistlib.py')
-rw-r--r-- | Lib/plistlib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/plistlib.py b/Lib/plistlib.py index d03c75d..30f3f67 100644 --- a/Lib/plistlib.py +++ b/Lib/plistlib.py @@ -152,7 +152,7 @@ def _date_to_string(d): def _escape(text): m = _controlCharPat.search(text) if m is not None: - raise ValueError("strings can't contains control characters; " + raise ValueError("strings can't contain control characters; " "use bytes instead") text = text.replace("\r\n", "\n") # convert DOS line endings text = text.replace("\r", "\n") # convert Mac line endings |