Skip to content

Commit a247dd3

Browse files
authored
gh-69605: Add PyREPL import autocomplete feature to 'What's New' (#133358)
1 parent 0af61fe commit a247dd3

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/whatsnew/3.14.rst

+6
Original file line numberDiff line numberDiff line change
@@ -2213,6 +2213,12 @@ Others
22132213
integer must implement either :meth:`~object.__int__` or
22142214
:meth:`~object.__index__`. (Contributed by Mark Dickinson in :gh:`119743`.)
22152215

2216+
* The default :term:`interactive` shell now supports import autocompletion.
2217+
This means that typing ``import foo`` and pressing ``<tab>`` will suggest
2218+
modules starting with ``foo``. Similarly, typing ``from foo import b`` will
2219+
suggest submodules of ``foo`` starting with ``b``. Note that autocompletion
2220+
of module attributes is not currently supported.
2221+
(Contributed by Tomas Roun in :gh:`69605`.)
22162222

22172223
CPython Bytecode Changes
22182224
========================

0 commit comments

Comments
 (0)