summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2014-10-30 21:26:26 (GMT)
committerGeorg Brandl <georg@python.org>2014-10-30 21:26:26 (GMT)
commit6b4c847c4f299517ec991621710c02459d204f05 (patch)
treece305035f3e73d3cf718f5bf445474ef8e9379c1 /Doc/whatsnew
parented14c86facb62c4fb3fcff73c8ea3860c7dc8d29 (diff)
downloadcpython-6b4c847c4f299517ec991621710c02459d204f05.zip
cpython-6b4c847c4f299517ec991621710c02459d204f05.tar.gz
cpython-6b4c847c4f299517ec991621710c02459d204f05.tar.bz2
Doc: fix default role usage (except in unittest mock docs)
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r--Doc/whatsnew/3.0.rst2
-rw-r--r--Doc/whatsnew/3.3.rst2
2 files changed, 2 insertions, 2 deletions
diff --git a/Doc/whatsnew/3.0.rst b/Doc/whatsnew/3.0.rst
index 71b87b8..9941130 100644
--- a/Doc/whatsnew/3.0.rst
+++ b/Doc/whatsnew/3.0.rst
@@ -164,7 +164,7 @@ Some well-known APIs no longer return lists:
If the input sequences are not of equal length, :func:`map` will
stop at the termination of the shortest of the sequences. For full
- compatibility with `map` from Python 2.x, also wrap the sequences in
+ compatibility with :func:`map` from Python 2.x, also wrap the sequences in
:func:`itertools.zip_longest`, e.g. ``map(func, *sequences)`` becomes
``list(map(func, itertools.zip_longest(*sequences)))``.
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 2e29d85..b0e217a 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -2080,7 +2080,7 @@ Add a new :class:`types.MappingProxyType` class: Read-only proxy of a mapping.
(:issue:`14386`)
-The new functions `types.new_class` and `types.prepare_class` provide support
+The new functions :func:`types.new_class` and :func:`types.prepare_class` provide support
for PEP 3115 compliant dynamic type creation. (:issue:`14588`)