diff --git a/pandas/_libs/tslibs/period.pyx b/pandas/_libs/tslibs/period.pyx index 54bf041d59264..e954ec9bccd9e 100644 --- a/pandas/_libs/tslibs/period.pyx +++ b/pandas/_libs/tslibs/period.pyx @@ -2656,7 +2656,7 @@ class Period(_Period): Parameters ---------- - value : Period or str, default None + value : Period, str, datetime, date or pandas.Timestamp, default None The time period represented (e.g., '4Q2005'). This represents neither the start or the end of the period, but rather the entire period itself. freq : str, default None diff --git a/pandas/core/indexes/period.py b/pandas/core/indexes/period.py index f693f9557ecdc..f40d63c8b8128 100644 --- a/pandas/core/indexes/period.py +++ b/pandas/core/indexes/period.py @@ -476,7 +476,7 @@ def period_range( Parameters ---------- - start : str or period-like, default None + start : str, datetime, date, pandas.Timestamp, or period-like, default None Left bound for generating periods. end : str or period-like, default None Right bound for generating periods.