From c4eb5f177d68f26c5aed0132a5575619dcd9f950 Mon Sep 17 00:00:00 2001 From: Antonio Ossa Guerra Date: Fri, 21 Oct 2022 16:24:03 -0300 Subject: [PATCH] Update CHANGES.md Add entry about new behavior on whitespace-only files: removing whitespace characters and return a single newline (if present) or an empty file Signed-off-by: Antonio Ossa Guerra --- CHANGES.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGES.md b/CHANGES.md index ba9f4c06f28..f0205d06cbd 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -29,6 +29,8 @@ - Parsing support has been added for walruses inside generator expression that are passed as function args (for example, `any(match := my_re.match(text) for text in texts)`) (#3327). +- Reformat empty and whitespace-only files as either an empty file (if no newline is + present) or as a single newline character (if a newline is present) (#3348) ### Performance