diff options
author | Alex Waygood <Alex.Waygood@Gmail.com> | 2022-02-13 00:04:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-13 00:04:48 (GMT) |
commit | 50cf4991c49e19f917305dd7b9c71085c11edddb (patch) | |
tree | 36f25921a7485f04d45e6609c492bd7c72696cde /Doc | |
parent | b70690bb37cc4bac695051484734eede0c1f9ada (diff) | |
download | cpython-50cf4991c49e19f917305dd7b9c71085c11edddb.zip cpython-50cf4991c49e19f917305dd7b9c71085c11edddb.tar.gz cpython-50cf4991c49e19f917305dd7b9c71085c11edddb.tar.bz2 |
bpo-45447: Add syntax highlighting for `.pyi` files in IDLE (GH-28950)
Also add .pyi to the python extensions in the "File-open" and "File-save" dialogues.
Add util.py to contain objects that are used in multiple idlelib modules
and have no dependencies on any of them.
Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/whatsnew/3.11.rst | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 5e7c89e..43a112a 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -228,6 +228,12 @@ fractions (Contributed by Mark Dickinson in :issue:`44547`.) +IDLE and idlelib +---------------- + +* IDLE now applies syntax highlighting to `.pyi` files. (Contributed by Alex + Waygood and Terry Jan Reedy in :issue:`45447`.) + inspect ------- * Add :func:`inspect.getmembers_static`: return all members without |