Skip to content

Commit 9455ee9

Browse files
sdementenjreback
authored andcommitted
fix for issue #15240
replace **kwd argument to explicit argument to raise TypeError when wrong argument name is given
1 parent 1a40777 commit 9455ee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/tslib.pyx

+1-1
Original file line numberDiff line numberDiff line change
@@ -650,7 +650,7 @@ class Timestamp(_Timestamp):
650650

651651
astimezone = tz_convert
652652

653-
def replace(self, year=None, month=None, day=None,
653+
def replace(self, year=None, month=None, day=None,
654654
hour=None, minute=None, second=None, microsecond=None, nanosecond=None,
655655
tzinfo=None):
656656
"""

0 commit comments

Comments
 (0)