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 [3.13] gh-70870: Clarify dual usage of 'free variable' (GH-122545) (#125088) 2024-10-08 17:58:47 +10:00
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 Docs: Add label to grammar spec for linking from PEPs (#113235) 2023-12-17 12:23:14 -07:00
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 Merge from 3.2: remove unneeded "Release" and "Date" markers from index pages. 2012-10-28 11:10:24 -07:00
introduction.rst [3.13] GH-103484: Fix permanently redirects reported by linkcheck (GH-124144) (#124151) 2024-09-24 00:43:04 +00:00
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 GH-97950: Use new-style index directive ('builtin') (#104164) 2023-05-06 06:54:08 +03:00