cpython/Doc/reference
Miss Islington (bot) 7fc3aa5575
[3.13] gh-69686: Remove untrue part of __import__ replacement docs (GH-143261) (#143282)
gh-69686: Remove untrue part of `__import__` replacement docs (GH-143261)

Remove untrue part of `__import__` replacement docs

The original statement effectively says that replacing `__import__` at global scope affects import statements, and not only that, but only import statements within the rest of the executing module. None of that has been true since at least Python 2.7, I think.

This was likely missed in python/cpython#69686.
(cherry picked from commit 79c03ac001)

Co-authored-by: Thanos <111999343+Sachaa-Thanasius@users.noreply.github.com>
2025-12-30 05:22:47 +00:00
..
compound_stmts.rst [3.13] Add missing comma to tuple in except* docs (GH-142395) (#142684) 2025-12-13 22:57:22 +00:00
datamodel.rst [3.13] GH-138562: Remove `sort()` from the common sequence methods in the data model (GH-138563) (#140676) 2025-12-01 23:29:13 +01:00
executionmodel.rst
expressions.rst [3.13] gh-97914: Reword misleading sentence on conditional expressions (GH-139064) (#140094) 2025-10-14 08:29:16 +00:00
grammar.rst
import.rst [3.13] gh-69686: Remove untrue part of __import__ replacement docs (GH-143261) (#143282) 2025-12-30 05:22:47 +00:00
index.rst
introduction.rst
lexical_analysis.rst [3.13] gh-127833: lexical analysis: Add backticks to BOM example (GH-132407) (#133633) 2025-05-08 01:42:05 +00:00
simple_stmts.rst [3.13] gh-137376: Add note on top-level global declarations (GH-137707) (#138022) 2025-09-18 13:02:17 +01:00
toplevel_components.rst