diff options
author | Georg Brandl <georg@python.org> | 2014-10-30 21:26:26 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2014-10-30 21:26:26 (GMT) |
commit | 6b4c847c4f299517ec991621710c02459d204f05 (patch) | |
tree | ce305035f3e73d3cf718f5bf445474ef8e9379c1 /Doc/whatsnew | |
parent | ed14c86facb62c4fb3fcff73c8ea3860c7dc8d29 (diff) | |
download | cpython-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.rst | 2 | ||||
-rw-r--r-- | Doc/whatsnew/3.3.rst | 2 |
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`) |