def _catch_up_global_typechecked_decorator():
mod_names = None
while mod_names is None:
try:
mod_names = [mn for mn in sys.modules]
except RuntimeError: # dictionary changed size during iteration
pass
for mod_name in mod_names:
if not mod_name in _fully_typechecked_modules:
try:
md = sys.modules[mod_name]
except KeyError:
md = None
if not md is None and ismodule(md):
typechecked_module(mod_name)
评论列表
文章目录