diff --git a/pep-0420.txt b/pep-0420.txt index 06f4f41a1..2d14ca7b7 100644 --- a/pep-0420.txt +++ b/pep-0420.txt @@ -370,9 +370,9 @@ portion:: child three.py -We add the first two parent paths to ``sys.path``. The third portion -is added dynamically to the parent's ``__path__``, and the third -portion is found when it is imported:: +We add the first two parent paths to ``sys.path``. The third +``parent`` portion is added dynamically to ``parent.__path__``, and +the third portion is then found when it is imported:: # add the first two parent paths to sys.path >>> import sys @@ -398,7 +398,7 @@ portion is found when it is imported:: File "", line 1250, in _find_and_load_unlocked ImportError: No module named 'parent.child.three' - # now add parent3 to the parent's __path__: + # now add the third parent portion to parent.__path__: >>> parent.__path__.append('Lib/test/namespace_pkgs/parent3/parent') # and now parent.child.three can be imported: