Skip to content

Commit 1a2e3a0

Browse files
gh-140870: Add PyREPL's module attributes import completion feature to What's New 3.15 (#156782)
Co-authored-by: Stan Ulbrych <stan@python.org>
1 parent 1860130 commit 1a2e3a0

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

Doc/whatsnew/3.15.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -902,6 +902,13 @@ Default interactive shell
902902
<using-on-controlling-color>`.
903903
(Contributed by Antonio Cuni and Pablo Galindo in :gh:`130472`.)
904904

905+
* Tab completion now suggests module attributes in ``from ... import`` statements.
906+
Attributes can only be suggested once the module is imported, so
907+
:term:`stdlib` modules are imported automatically, while for
908+
other modules the completer offers to import them when :kbd:`Tab`
909+
is pressed a second time.
910+
(Contributed by Loïc Simon and Pablo Galindo in :gh:`140870`.)
911+
905912

906913
New modules
907914
===========

0 commit comments

Comments
 (0)