Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Mention deprecation in pkgutil docs
  • Loading branch information
sobolevn committed Apr 19, 2023
commit e073fac9576069662eb9f97fd06c114cfabeec60
7 changes: 7 additions & 0 deletions Doc/library/pkgutil.rst
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,10 @@ support.
.. versionchanged:: 3.4
Updated to be based on :pep:`451`

.. deprecated:: 3.12
Comment thread
sobolevn marked this conversation as resolved.
Outdated
Use :func:`importlib.util.find_spec` instead.


.. function:: get_importer(path_item)

Retrieve a :term:`finder` for the given *path_item*.
Expand Down Expand Up @@ -123,6 +127,9 @@ support.
.. versionchanged:: 3.4
Updated to be based on :pep:`451`

.. deprecated:: 3.12
Comment thread
sobolevn marked this conversation as resolved.
Outdated
Use :func:`importlib.util.find_spec` instead.


.. function:: iter_importers(fullname='')

Expand Down