(self, path)
| 304 | |
| 305 | # Does this path represent a directory? |
| 306 | def _is_dir(self, path): |
| 307 | # See if this is a "directory". If so, it's eligible to be part |
| 308 | # of a namespace package. We test by seeing if the name, with an |
| 309 | # appended path separator, exists. |
| 310 | dirpath = path + path_sep |
| 311 | # If dirpath is present in self._get_files(), we have a directory. |
| 312 | return dirpath in self._get_files() |
| 313 | |
| 314 | # Return some information about a module. |
| 315 | def _get_module_info(self, fullname): |