Skip to content

Commit 60eccd0

Browse files
[doc] Fix missing commas in signatures (#23693)
* Fix star in signatures * Fix comma in signatures
1 parent b3c77ec commit 60eccd0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Doc/library/datetime.rst

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

12201220
.. method:: datetime.replace(year=self.year, month=self.month, day=self.day, \
12211221
hour=self.hour, minute=self.minute, second=self.second, microsecond=self.microsecond, \
1222-
tzinfo=self.tzinfo, * fold=0)
1222+
tzinfo=self.tzinfo, *, fold=0)
12231223
12241224
Return a datetime with the same attributes, except for those attributes given
12251225
new values by whichever keyword arguments are specified. Note that
@@ -1783,7 +1783,7 @@ Other constructor:
17831783
Instance methods:
17841784

17851785
.. method:: time.replace(hour=self.hour, minute=self.minute, second=self.second, \
1786-
microsecond=self.microsecond, tzinfo=self.tzinfo, * fold=0)
1786+
microsecond=self.microsecond, tzinfo=self.tzinfo, *, fold=0)
17871787
17881788
Return a :class:`.time` with the same value, except for those attributes given
17891789
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)