Skip to content

Commit eb0e81e

Browse files
committed
Update what's new
1 parent 8ca50fa commit eb0e81e

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ Summary --- release highlights
6565
6666
.. PEP-sized items next.
6767
68+
* :ref:`argparse <whatsnew314-color-argparse>`,
6869

6970

7071
New features
@@ -86,10 +87,17 @@ New modules
8687
Improved modules
8788
================
8889

89-
module_name
90-
-----------
90+
difflib
91+
-------
92+
93+
.. _whatsnew314-color-argparse:
94+
95+
* Introduced the optional *color* parameter to :func:`difflib.unified_diff`,
96+
enabling colored output similar to what ``git diff`` displays.
97+
This can be controlled by :ref:`environment variables
98+
<using-on-controlling-color>`.
99+
(Contributed by Douglas Thor in :gh:`133725`.)
91100

92-
* TODO
93101

94102
.. Add improved modules above alphabetically, not here at the end.
95103

0 commit comments

Comments
 (0)