diff --git a/pandas/core/generic.py b/pandas/core/generic.py index 940231233e308..906caf051a479 100644 --- a/pandas/core/generic.py +++ b/pandas/core/generic.py @@ -6692,7 +6692,7 @@ def infer_objects(self, copy: bool | lib.NoDefault = lib.no_default) -> Self: Parameters ---------- - copy : bool, default False + copy : bool or lib.NoDefault, default lib.no_default Whether to make a copy for non-object or non-inferable columns or Series.