Commit 1a82320
authored
Remove untrue part of
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.__import__ replacement docs1 parent 0efbad6 commit 1a82320
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