Skip to content

Commit 9dbcec2

Browse files
committed
Update comments
1 parent 98cacb1 commit 9dbcec2

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

Include/internal/pycore_interp_structs.h

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -351,11 +351,12 @@ struct _import_state {
351351
PyObject *lazy_importing_modules;
352352
// The set stored in sys.lazy_modules if values that have been
353353
// lazily imported. This value is only for debugging/introspection
354-
// purposes and is not used at runtime.
354+
// purposes and is not used by the runtime.
355355
PyObject *lazy_modules;
356-
// Submodules that have been imported lazily from modules which have
357-
// been imported lazily. When the module is imported we need to add
358-
// a LazyImportObject which refers to the submodule on the module.
356+
// A dict mapping package names to a set of submodule names that
357+
// have been imported lazily from packages which have been imported
358+
// lazily. When the package is reified we need to add a
359+
// LazyImportObject which refers to the submodule on the module.
359360
PyObject *lazy_pending_submodules;
360361
#ifdef Py_GIL_DISABLED
361362
PyMutex lazy_mutex;

0 commit comments

Comments
 (0)