mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
Replaced boolean test with is None
This commit is contained in:
parent
094662a165
commit
936654bce0
3 changed files with 4 additions and 4 deletions
|
@ -66,7 +66,7 @@ class ImportManager:
|
|||
|
||||
# This is the Importer that we use for grabbing stuff from the
|
||||
# filesystem. It defines one more method (import_from_dir) for our use.
|
||||
if not fs_imp:
|
||||
if fs_imp is None:
|
||||
cls = self.clsFilesystemImporter or _FilesystemImporter
|
||||
fs_imp = cls()
|
||||
self.fs_imp = fs_imp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue