Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Apply suggestions from code review
Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
  • Loading branch information
AA-Turner and hugovk authored Aug 17, 2024
commit 6b80794857a6f4826b5f93f5e0bba6f0efc577c8
8 changes: 4 additions & 4 deletions Doc/whatsnew/3.13.rst
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ Other Language Changes
* The compiler now strips common common leading whitespace
from every line in a docstring.
This reduces the size of :term:`bytecode cache <bytecode>`
(e.g. ``.pyc`` files), with reductions in file size of around 5%,
for example for :mod:`!sqlalchemy.orm.session` in SQLAlchemy 2.0.
(such as ``.pyc`` files), with reductions in file size of around 5%,
for example, for :mod:`!sqlalchemy.orm.session` in SQLAlchemy 2.0.
This change will affect tools using docstrings, such as :mod:`doctest`.

.. doctest::
Expand Down Expand Up @@ -552,7 +552,7 @@ Other Language Changes
* Add :ref:`support for the perf profiler <perf_profiling>` working
without `frame pointers <https://en.wikipedia.org/wiki/Call_stack>`_ through
the new environment variable :envvar:`PYTHON_PERF_JIT_SUPPORT`
and command-line option :option:`-X perf_jit <-X>`
and command-line option :option:`-X perf_jit <-X>`.
(Contributed by Pablo Galindo in :gh:`118518`.)

* The location of a :file:`.python_history` file can be changed via the
Expand All @@ -561,7 +561,7 @@ Other Language Changes
in :gh:`73965`.)

* Classes have a new :attr:`~class.__static_attributes__` attribute.
This is populated by the compiler with a tuple of the class' attribute names
This is populated by the compiler with a tuple of the class's attribute names
which are assigned through ``self.<name>`` from any function in its body.
(Contributed by Irit Katriel in :gh:`115775`.)

Expand Down