Commit 79c03ac
authored
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.
1 parent b6b0e14 commit 79c03ac
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
832 | 832 | | |
833 | 833 | | |
834 | 834 | | |
835 | | - | |
836 | | - | |
837 | | - | |
| 835 | + | |
838 | 836 | | |
839 | 837 | | |
840 | 838 | | |
| |||
0 commit comments