Merge for #26844
This commit is contained in:
commit
896e87a99c
|
@ -266,8 +266,8 @@ def find_module(name, path=None):
|
|||
raise TypeError("'name' must be a str, not {}".format(type(name)))
|
||||
elif not isinstance(path, (type(None), list)):
|
||||
# Backwards-compatibility
|
||||
raise RuntimeError("'list' must be None or a list, "
|
||||
"not {}".format(type(name)))
|
||||
raise RuntimeError("'path' must be None or a list, "
|
||||
"not {}".format(type(path)))
|
||||
|
||||
if path is None:
|
||||
if is_builtin(name):
|
||||
|
|
|
@ -949,6 +949,7 @@ Graham Matthews
|
|||
mattip
|
||||
Martin Matusiak
|
||||
Dieter Maurer
|
||||
Lev Maximov
|
||||
Daniel May
|
||||
Madison May
|
||||
Lucas Maystre
|
||||
|
|
Loading…
Reference in New Issue