summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2013-10-19 15:46:38 (GMT)
committerGeorg Brandl <georg@python.org>2013-10-19 15:46:38 (GMT)
commit0f5bff24ab206fb0365e34684b2a99afdfb47327 (patch)
tree825197f6e019fdf24c4f85965c5ff1e6f8bddf5c
parent8608d26e815a63f5a35524abea40ad80a5e93bb2 (diff)
downloadcpython-0f5bff24ab206fb0365e34684b2a99afdfb47327.zip
cpython-0f5bff24ab206fb0365e34684b2a99afdfb47327.tar.gz
cpython-0f5bff24ab206fb0365e34684b2a99afdfb47327.tar.bz2
Doc markup fixes.
-rw-r--r--Doc/library/importlib.rst4
-rw-r--r--Doc/whatsnew/3.4.rst4
2 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/importlib.rst b/Doc/library/importlib.rst
index 566eb7a..9a8b5e9 100644
--- a/Doc/library/importlib.rst
+++ b/Doc/library/importlib.rst
@@ -723,7 +723,7 @@ find and load modules.
finders stored in :attr:`sys.path_importer_cache`.
.. versionchanged:: 3.4
- Calls objects in :data:sys.path_hooks with the current working directory
+ Calls objects in :data:`sys.path_hooks` with the current working directory
for ``''`` (i.e. the empty string).
@@ -752,7 +752,7 @@ find and load modules.
.. versionadded:: 3.3
- .. versionchange:: 3.4
+ .. versionchanged:: 3.4
The empty string is no longer special-cased to be changed into ``'.'``.
.. attribute:: path
diff --git a/Doc/whatsnew/3.4.rst b/Doc/whatsnew/3.4.rst
index 01e9259..38649cc 100644
--- a/Doc/whatsnew/3.4.rst
+++ b/Doc/whatsnew/3.4.rst
@@ -675,7 +675,7 @@ that may require changes to your code.
:c:func:`PyMem_RawRealloc`, or *NULL* if an error occurred, instead of a
string allocated by :c:func:`PyMem_Malloc` or :c:func:`PyMem_Realloc`.
-* :cls:`importlib.machinery.PathFinder` now passes on the current working
+* :class:`importlib.machinery.PathFinder` now passes on the current working
directory to objects in :data:`sys.path_hooks` for the empty string. This
results in :data:`sys.path_importer_cache` never containing ``''``, thus
iterating through :data:`sys.path_importer_cache` based on :data:`sys.path`
@@ -684,5 +684,5 @@ that may require changes to your code.
``-m`` with the interpreter (this does not influence when the path to a file
is specified on the command-line).
-* :cls:`importlib.machinery.FileFinder` no longer special-cases the empty string
+* :class:`importlib.machinery.FileFinder` no longer special-cases the empty string
to be changed to ``'.'``.