diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2022-09-28 18:32:59 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 18:32:59 (GMT) |
commit | 3d8dfb339b0c0696c5efd4effa9a6b1e34d814e1 (patch) | |
tree | 369ef4ef58f8b0a1e94cc378a1b8872e700b7c53 /Lib/plistlib.py | |
parent | 13f23e013d92ecb25fe1efcf4234fbb666a8bde2 (diff) | |
download | cpython-3d8dfb339b0c0696c5efd4effa9a6b1e34d814e1.zip cpython-3d8dfb339b0c0696c5efd4effa9a6b1e34d814e1.tar.gz cpython-3d8dfb339b0c0696c5efd4effa9a6b1e34d814e1.tar.bz2 |
Fix typo in error message in plistlib (GH-97540)
(cherry picked from commit 81b9d9ddc20837ecd19f41b764e3f33d8ae805d5)
Co-authored-by: Jakob Weigert <jakobjw@users.noreply.github.com>
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 2eeebe4..bc8e4c8 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 |