PEP 402: Resolve uses of the default role (#3391)

This commit is contained in:
Adam Turner 2023-09-01 20:26:24 +01:00 committed by GitHub
parent 3bc3ad8f39
commit bff9f540a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -532,7 +532,7 @@ Specifically the proposed changes and additions to ``pkgutil`` are:
The implementation of this function does a simple top-down traversal
of ``sys.virtual_package_paths``, and performs any necessary
``get_subpath()`` calls to identify what path entries need to be
added to the virtual path for that package, given that `path_entry`
added to the virtual path for that package, given that ``path_entry``
has been added to ``sys.path``. (Or, in the case of sub-packages,
adding a derived subpath entry, based on their parent package's
virtual path.)
@ -545,7 +545,7 @@ Specifically the proposed changes and additions to ``pkgutil`` are:
* A new ``iter_virtual_packages(parent='')`` function to allow
top-down traversal of virtual packages from
``sys.virtual_package_paths``, by yielding the child virtual
packages of `parent`. For example, calling
packages of ``parent``. For example, calling
``iter_virtual_packages("zope")`` might yield ``zope.app``
and ``zope.products`` (if they are virtual packages listed in
``sys.virtual_package_paths``), but **not** ``zope.foo.bar``.