Skip to content

Commit

Permalink
Add NEWS and what's new entry
Browse files Browse the repository at this point in the history
  • Loading branch information
methane committed Jul 4, 2023
1 parent 6fc4456 commit 78ef10c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ New Features
Other Language Changes
======================

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


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

0 comments on commit 78ef10c

Please sign in to comment.