Skip to content

gh-81283: compiler: remove indent from docstring #106411

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Jul 15, 2023
Prev Previous commit
Next Next commit
Merge branch 'main' into c-cleandoc
  • Loading branch information
methane authored Jul 11, 2023
commit f61fe410f4c72c6a04a7b54c60e8ebaf6ded7cc0
4 changes: 3 additions & 1 deletion Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,14 +76,16 @@ New Features
Other Language Changes
======================

* Allow the *count* argument of :meth:`str.replace` to be a keyword.
(Contributed by Hugo van Kemenade in :gh:`106487`.)

* 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
You are viewing a condensed version of this merge commit. You can view the full changes here.