]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 12 Jun 2024 14:51:35 +0000 (16:51 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2024 14:51:35 +0000 (14:51 +0000)
commitf0788cb41906407f567cc84d40bb2e9e80fb6a1b
tree68b9b5ea868acebfab07ec5ce2d558df11b2536d
parente04809299fc1a5f0ff0b567173439cb0b6f8e907
[3.13] gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347) (GH-120411)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
(cherry picked from commit 92c9c6ae147e1e658bbc8d454f8c7b2c4dea31d1)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Doc/howto/descriptor.rst
Doc/library/collections.rst
Doc/library/datetime.rst
Doc/library/fileinput.rst
Doc/tutorial/stdlib2.rst
Doc/whatsnew/2.5.rst
Doc/whatsnew/3.12.rst