[doc] Fix missing commas in signatures (#23693)
* Fix star in signatures * Fix comma in signatures
This commit is contained in:
parent
b3c77ecbbe
commit
60eccd0956
|
@ -1219,7 +1219,7 @@ Instance methods:
|
||||||
|
|
||||||
.. method:: datetime.replace(year=self.year, month=self.month, day=self.day, \
|
.. method:: datetime.replace(year=self.year, month=self.month, day=self.day, \
|
||||||
hour=self.hour, minute=self.minute, second=self.second, microsecond=self.microsecond, \
|
hour=self.hour, minute=self.minute, second=self.second, microsecond=self.microsecond, \
|
||||||
tzinfo=self.tzinfo, * fold=0)
|
tzinfo=self.tzinfo, *, fold=0)
|
||||||
|
|
||||||
Return a datetime with the same attributes, except for those attributes given
|
Return a datetime with the same attributes, except for those attributes given
|
||||||
new values by whichever keyword arguments are specified. Note that
|
new values by whichever keyword arguments are specified. Note that
|
||||||
|
@ -1783,7 +1783,7 @@ Other constructor:
|
||||||
Instance methods:
|
Instance methods:
|
||||||
|
|
||||||
.. method:: time.replace(hour=self.hour, minute=self.minute, second=self.second, \
|
.. method:: time.replace(hour=self.hour, minute=self.minute, second=self.second, \
|
||||||
microsecond=self.microsecond, tzinfo=self.tzinfo, * fold=0)
|
microsecond=self.microsecond, tzinfo=self.tzinfo, *, fold=0)
|
||||||
|
|
||||||
Return a :class:`.time` with the same value, except for those attributes given
|
Return a :class:`.time` with the same value, except for those attributes given
|
||||||
new values by whichever keyword arguments are specified. Note that
|
new values by whichever keyword arguments are specified. Note that
|
||||||
|
|
|
@ -116,7 +116,7 @@ Currently the email package provides only one concrete content manager,
|
||||||
decoding the payload to unicode. The default error handler is
|
decoding the payload to unicode. The default error handler is
|
||||||
``replace``.
|
``replace``.
|
||||||
|
|
||||||
.. method:: set_content(msg, <'str'>, subtype="plain", charset='utf-8' \
|
.. method:: set_content(msg, <'str'>, subtype="plain", charset='utf-8', \
|
||||||
cte=None, \
|
cte=None, \
|
||||||
disposition=None, filename=None, cid=None, \
|
disposition=None, filename=None, cid=None, \
|
||||||
params=None, headers=None)
|
params=None, headers=None)
|
||||||
|
|
Loading…
Reference in New Issue