Paths are the default for modules

This commit is contained in:
Dave Halter committed 2021-01-14 02:00:14 +01:00
1 parent 7555dc0d45
commit 47d0318fa6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -148,7 +148,7 @@ class ModuleValue(ModuleMixin, TreeValue):
if file_io is None:
self._path: Optional[Path] = None
else:
self._path = Path(file_io.path)
self._path = file_io.path
self.string_names = string_names # Optional[Tuple[str, ...]]
self.code_lines = code_lines
self._is_package = is_package