Skip to content

Commit e764ca7

Browse files
authored
Update p12_patching_modules_on_import.rst
错别字纠正
1 parent f67d542 commit e764ca7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: source/c10/p12_patching_modules_on_import.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
本节中的 ``PostImportFinder`` 的作用并不是加载模块,而是自带导入完成后触发相应的动作。
110110
实际的导入被委派给位于sys.meta_path中的其他查找器。
111111
``PostImportLoader`` 类中的 ``imp.import_module()`` 函数被递归的调用。
112-
为了避免陷入无线循环,``PostImportFinder`` 保持了一个所有被加载过的模块集合。
112+
为了避免陷入无限循环,``PostImportFinder`` 保持了一个所有被加载过的模块集合。
113113
如果一个模块名存在就会直接被忽略掉。
114114

115115
当一个模块被 ``imp.import_module()`` 加载后,

0 commit comments

Comments
 (0)