Commit e55ffe9
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 #69686.
(cherry picked from commit 79c03ac)
Co-authored-by: Thanos <111999343+Sachaa-Thanasius@users.noreply.github.com>
1 parent 93cb42f commit e55ffe9
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
834 | 834 | | |
835 | 835 | | |
836 | 836 | | |
837 | | - | |
838 | | - | |
839 | | - | |
| 837 | + | |
840 | 838 | | |
841 | 839 | | |
842 | 840 | | |
| |||
0 commit comments