gh-123517: Remove unnecessary `:meth:` parentheses (#123518)

This commit is contained in:
Wei-Hsiang (Matt) Wang 2024-09-01 12:59:42 +08:00 committed by GitHub
parent 34ddb64d08
commit cf472577e2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
55 changed files with 145 additions and 145 deletions

View file

@ -318,10 +318,10 @@ Macros for the convenience of modules implementing the DB API:
.. c:function:: PyObject* PyDateTime_FromTimestamp(PyObject *args)
Create and return a new :class:`datetime.datetime` object given an argument
tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp()`.
tuple suitable for passing to :meth:`datetime.datetime.fromtimestamp`.
.. c:function:: PyObject* PyDate_FromTimestamp(PyObject *args)
Create and return a new :class:`datetime.date` object given an argument
tuple suitable for passing to :meth:`datetime.date.fromtimestamp()`.
tuple suitable for passing to :meth:`datetime.date.fromtimestamp`.