Skip to content

Commit

Permalink
Update CHANGES.md
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
aaossa committed Oct 21, 2022
1 parent 9677aa2 commit c4eb5f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit c4eb5f1

Please sign in to comment.