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
add link to glossary
  • Loading branch information
methane committed Jul 15, 2023
commit 028b5df1ae7b2d01b1a63c98a809183655f6773b
2 changes: 1 addition & 1 deletion Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ Other Language Changes
(Contributed by Hugo van Kemenade in :gh:`106487`.)

* Compiler now strip indents from docstrings.
This will reduce the size of ``.pyc`` (cached bytecode) files.
This will reduce the size of :term:`bytecode cache <bytecode>` (e.g. ``.pyc`` file).
For example, cache file size for ``sqlalchemy.orm.session`` in SQLAlchemy 2.0
is reduced by about 5%.
This change will affect tools using docstrings, like :mod:`doctest`.
Expand Down