Update Doc/whatsnew/3.15.rst

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
This commit is contained in:
Pablo Galindo Salgado 2025-12-06 15:55:06 +00:00 committed by GitHub
parent 441602a2a9
commit e6633ffeb8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -92,7 +92,7 @@ process can take seconds, even when most of the imported code is never actually
used during a particular run.
Developers have worked around this by moving imports inside functions, using
``importlib`` to load modules on demand, or restructuring code to avoid
:mod:`importlib` to load modules on demand, or restructuring code to avoid
unnecessary dependencies. These approaches work but make code harder to read
and maintain, scatter import statements throughout the codebase, and require
discipline to apply consistently.