builtin.Parser -> builtin.BuiltinModule
This commit is contained in:
1 parent
acf81225b7
commit
59de98af67
2 files changed
+6
-6
No files matched your search
+2
-2
@@ -281,9 +281,9 @@ class ImportPath(pr.Base):
|
||||
if path.endswith('.py'):
|
||||
f = modules.Module(path, source)
|
||||
else:
|
||||
f = builtin.Parser(path=path)
|
||||
f = builtin.BuiltinModule(path=path)
|
||||
else:
|
||||
f = builtin.Parser(name=path)
|
||||
f = builtin.BuiltinModule(name=path)
|
||||
|
||||
return f.parser.module, rest
|
||||
|
||||
|
||||
Reference in new issue
Block a user