File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -66,12 +66,11 @@ This module provides an interface to the mechanisms used to implement the
66
66
contained in the list returned by :func: `get_suffixes ` describing the kind of
67
67
module found.
68
68
69
- If the module does not live in a file, the returned *file * is ``None ``,
70
- *pathname * is the empty string, and the *description * tuple contains empty
71
- strings for its suffix and mode; the module type is indicated as given in
72
- parentheses above. If the search is unsuccessful, :exc: `ImportError ` is
73
- raised. Other exceptions indicate problems with the arguments or
74
- environment.
69
+ If the module is built-in or frozen then *file * and *pathname * are both ``None ``
70
+ and the *description * tuple contains empty strings for its suffix and mode;
71
+ the module type is indicated as given in parentheses above. If the search
72
+ is unsuccessful, :exc: `ImportError ` is raised. Other exceptions indicate
73
+ problems with the arguments or environment.
75
74
76
75
If the module is a package, *file * is ``None ``, *pathname * is the package
77
76
path and the last item in the *description * tuple is :const: `PKG_DIRECTORY `.
You can’t perform that action at this time.
0 commit comments