From fa0799a7a5940e345fd210c2b0ca314a4d1a6599 Mon Sep 17 00:00:00 2001 From: Bonifacio de Oliveira Date: Mon, 27 Jan 2020 15:55:44 -0300 Subject: [PATCH 1/2] fix typo --- Doc/reference/import.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index 20a2ea69e2d2770..5452da82b9ad63d 100644 --- a/Doc/reference/import.rst +++ b/Doc/reference/import.rst @@ -857,7 +857,7 @@ module. ``find_spec()`` returns a fully populated spec for the module. This spec will always have "loader" set (with one exception). To indicate to the import machinery that the spec represents a namespace -:term:`portion`. the path entry finder sets "loader" on the spec to +:term:`portion` the path entry finder sets "loader" on the spec to ``None`` and "submodule_search_locations" to a list containing the portion. From 4845c3b9cf4628a1a1882c8e4f47a97b26261401 Mon Sep 17 00:00:00 2001 From: Bonifacio de Oliveira Date: Tue, 28 Jan 2020 15:28:45 -0300 Subject: [PATCH 2/2] fix typo on Doc/reference/import.rst Co-Authored-By: Brandt Bucher --- Doc/reference/import.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/reference/import.rst b/Doc/reference/import.rst index 5452da82b9ad63d..4c36e15dc060635 100644 --- a/Doc/reference/import.rst +++ b/Doc/reference/import.rst @@ -857,7 +857,7 @@ module. ``find_spec()`` returns a fully populated spec for the module. This spec will always have "loader" set (with one exception). To indicate to the import machinery that the spec represents a namespace -:term:`portion` the path entry finder sets "loader" on the spec to +:term:`portion`, the path entry finder sets "loader" on the spec to ``None`` and "submodule_search_locations" to a list containing the portion.