We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7d9848 commit 3a527e8Copy full SHA for 3a527e8
1 file changed
peps/pep-0810.rst
@@ -571,7 +571,7 @@ Lazy imports filter
571
572
This PEP adds the following new functions to manage the lazy imports filter:
573
574
-* ``importlib.set_lazy_imports_filter(func)`` - Sets the filter function. The
+* ``importlib.set_lazy_imports_filter(func)`` - Sets the filter function. If `func=None` then the import filter is removed. The
575
``func`` parameter must have the signature: ``func(importer: str, name: str,
576
fromlist: tuple[str, ...] | None) -> bool``
577
0 commit comments