Skip to content

Commit 8f9313c

Browse files
[doc] Fix missing commas in signatures (GH-23693)
* Fix star in signatures * Fix comma in signatures (cherry picked from commit 60eccd0) Co-authored-by: Andre Delfino <adelfino@gmail.com>
1 parent 323cbb5 commit 8f9313c

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

Doc/library/datetime.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1215,7 +1215,7 @@ Instance methods:
12151215

12161216
.. method:: datetime.replace(year=self.year, month=self.month, day=self.day, \
12171217
hour=self.hour, minute=self.minute, second=self.second, microsecond=self.microsecond, \
1218-
tzinfo=self.tzinfo, * fold=0)
1218+
tzinfo=self.tzinfo, *, fold=0)
12191219
12201220
Return a datetime with the same attributes, except for those attributes given
12211221
new values by whichever keyword arguments are specified. Note that
@@ -1779,7 +1779,7 @@ Other constructor:
17791779
Instance methods:
17801780

17811781
.. method:: time.replace(hour=self.hour, minute=self.minute, second=self.second, \
1782-
microsecond=self.microsecond, tzinfo=self.tzinfo, * fold=0)
1782+
microsecond=self.microsecond, tzinfo=self.tzinfo, *, fold=0)
17831783
17841784
Return a :class:`.time` with the same value, except for those attributes given
17851785
new values by whichever keyword arguments are specified. Note that

Doc/library/email.contentmanager.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Currently the email package provides only one concrete content manager,
116116
decoding the payload to unicode. The default error handler is
117117
``replace``.
118118

119-
.. method:: set_content(msg, <'str'>, subtype="plain", charset='utf-8' \
119+
.. method:: set_content(msg, <'str'>, subtype="plain", charset='utf-8', \
120120
cte=None, \
121121
disposition=None, filename=None, cid=None, \
122122
params=None, headers=None)

0 commit comments

Comments
 (0)