From d865575672f799b9758c4e13e756b10b165106a1 Mon Sep 17 00:00:00 2001 From: RanKKI Date: Sat, 26 Oct 2024 10:04:44 +1100 Subject: [PATCH] docs: update comments --- Lib/email/_policybase.py | 2 +- Lib/email/policy.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Lib/email/_policybase.py b/Lib/email/_policybase.py index b9a900e1a6c483..4b63b97217a835 100644 --- a/Lib/email/_policybase.py +++ b/Lib/email/_policybase.py @@ -302,7 +302,7 @@ def header_source_parse(self, sourcelines): """+ The name is parsed as everything up to the ':' and returned unmodified. The value is determined by stripping leading whitespace off the - remainder of the first line, joining all subsequent lines together, and + remainder of the first line joined with all subsequent lines, and stripping any trailing carriage return or linefeed characters. """ diff --git a/Lib/email/policy.py b/Lib/email/policy.py index 3b83e6c11a113f..6e109b65011a44 100644 --- a/Lib/email/policy.py +++ b/Lib/email/policy.py @@ -119,7 +119,7 @@ def header_source_parse(self, sourcelines): """+ The name is parsed as everything up to the ':' and returned unmodified. The value is determined by stripping leading whitespace off the - remainder of the first line, joining all subsequent lines together, and + remainder of the first line joined with all subsequent lines, and stripping any trailing carriage return or linefeed characters. (This is the same as Compat32).