Skip to content

Commit 12490d9

Browse files
committed
Add NEWS and what's new entry
1 parent 7e47b9f commit 12490d9

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Doc/whatsnew/3.13.rst

+6
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ New Features
7676
Other Language Changes
7777
======================
7878

79+
* Compiler now strip indents from docstrings.
80+
This will reduce size of ``.pyc`` cache files.
81+
For example, cache file size for ``sqlalchemy.orm.session`` in SQLAlchemy 2.0
82+
is reduced by about 5%.
83+
This change will affects to tools using docstrings like doctest.
84+
(Contributed by Inada Naoki in :gh:`81283`.)
7985

8086

8187
New Modules
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
Compiler now strips indents from docstrings. It reduces ``pyc`` file size 5%
2+
when the module is heavily documented. This change affects to ``__doc__`` so
3+
tools like doctest will be affected.

0 commit comments

Comments
 (0)