]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] 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:42:06 +0000 (16:42 +0200)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2024 14:42:06 +0000 (14:42 +0000)
commit319233f137a4ced96ef7def6f3e1645c4b28bb88
treef5b6bcff5bf73a9ae565135019adc6a64ccefd3a
parentab309343655a668863e6fcec9de4cfd428ba0392
[3.12] gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347) (GH-120412)

* 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