Skip to content

Commit e7a5fad

Browse files
committed
bpo-45379: clarify FROZEN_EXCLUDED documentation
Signed-off-by: Filipe Laíns <lains@riseup.net>
1 parent 17c6104 commit e7a5fad

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Python/import.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,8 @@ typedef enum {
11421142
FROZEN_BAD_NAME, // The given module name wasn't valid.
11431143
FROZEN_NOT_FOUND, // It wasn't in PyImport_FrozenModules.
11441144
FROZEN_DISABLED, // -X frozen_modules=off (and not essential)
1145-
FROZEN_EXCLUDED, // The PyImport_FrozenModules entry has NULL "code".
1145+
FROZEN_EXCLUDED, /* The PyImport_FrozenModules entry has NULL "code"
1146+
(module is present but marked as unimportable, stops search). */
11461147
FROZEN_INVALID, // The PyImport_FrozenModules entry is bogus.
11471148
} frozen_status;
11481149

0 commit comments

Comments
 (0)