1
0
forked from VimPlug/jedi

Start fixing some of the problems with new typeshed

This commit is contained in:
Dave Halter
2026-04-28 01:41:40 +02:00
parent 2455414d1d
commit ff581e8403
6 changed files with 17 additions and 45 deletions
+1 -2
View File
@@ -779,8 +779,7 @@ def preload_module(*modules):
:param modules: different module names, list of string.
"""
for m in modules:
s = "import %s as x; x." % m
Script(s).complete(1, len(s))
Script(f"import {m}").infer()
def set_debug_function(func_cb=debug.print_to_stdout, warnings=True,