From 3f357fec0e96b46e27fb14ba6eb01a4cac870d4c Mon Sep 17 00:00:00 2001 From: Will Peppo Date: Wed, 3 Jun 2020 18:16:57 -0400 Subject: [PATCH 1/2] Fixed PR06 (wrong parameter type) in pandas.Timestamp --- pandas/_libs/tslibs/timestamps.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/_libs/tslibs/timestamps.pyx b/pandas/_libs/tslibs/timestamps.pyx index fad87f9f910cb..471ed557f4327 100644 --- a/pandas/_libs/tslibs/timestamps.pyx +++ b/pandas/_libs/tslibs/timestamps.pyx @@ -1053,7 +1053,7 @@ timedelta}, default 'raise' Parameters ---------- - locale : string, default None (English locale) + locale : str, default None (English locale) Locale determining the language in which to return the day name. Returns @@ -1070,7 +1070,7 @@ timedelta}, default 'raise' Parameters ---------- - locale : string, default None (English locale) + locale : str, default None (English locale) Locale determining the language in which to return the month name. Returns From e57a5df48efdc477a765534f819338682dfd9437 Mon Sep 17 00:00:00 2001 From: Will Peppo Date: Thu, 4 Jun 2020 00:32:56 -0400 Subject: [PATCH 2/2] DOC: updates in response to PR comments --- pandas/_libs/tslibs/nattype.pyx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandas/_libs/tslibs/nattype.pyx b/pandas/_libs/tslibs/nattype.pyx index 6dc49914ef4b7..f079c5157eeb3 100644 --- a/pandas/_libs/tslibs/nattype.pyx +++ b/pandas/_libs/tslibs/nattype.pyx @@ -397,7 +397,7 @@ class NaTType(_NaT): Parameters ---------- - locale : string, default None (English locale) + locale : str, default None (English locale) Locale determining the language in which to return the month name. Returns @@ -414,7 +414,7 @@ class NaTType(_NaT): Parameters ---------- - locale : string, default None (English locale) + locale : str, default None (English locale) Locale determining the language in which to return the day name. Returns