]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347)
authorSerhiy Storchaka <storchaka@gmail.com>
Wed, 12 Jun 2024 14:23:03 +0000 (17:23 +0300)
committerGitHub <noreply@github.com>
Wed, 12 Jun 2024 14:23:03 +0000 (17:23 +0300)
commit92c9c6ae147e1e658bbc8d454f8c7b2c4dea31d1
tree7e4c602d0c2ed2c096a9b1d06b61d69120ba415e
parent42b25dd61ff3593795c4cc2ffe876ab766098b24
gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347)

* Remove "()" when refer to a class as a type.
* Use :func: when refer to a callable.
* Fix reference to the datetime.astimezone() method.
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