Skip to content

Commit 4c18fc8

Browse files
authored
bpo-41006: Document the runpy optimization (pythonGH-20953)
1 parent 9e09849 commit 4c18fc8

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Doc/whatsnew/3.10.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,11 @@ Improved Modules
103103
Optimizations
104104
=============
105105

106+
* The :mod:`runpy` module now imports less modules.
107+
The ``python3 -m module-name`` command startup time is 1.3x faster in
108+
average.
109+
(Contributed by Victor Stinner in :issue:`41006`.)
110+
106111

107112
Deprecated
108113
==========

0 commit comments

Comments
 (0)