Skip to content

Commit 0f15b62

Browse files
committed
correct default val in overload defs
1 parent d2653da commit 0f15b62

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

pandas/core/frame.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -8646,7 +8646,7 @@ def aggregate(self, func=None, axis: Axis = 0, *args, **kwargs):
86468646
def any(
86478647
self: DataFrame,
86488648
axis: Axis = ...,
8649-
bool_only: bool | None = None,
8649+
bool_only: bool | None = ...,
86508650
skipna: bool = ...,
86518651
level: None = ...,
86528652
**kwargs,
@@ -8657,7 +8657,7 @@ def any(
86578657
def any(
86588658
self: DataFrame,
86598659
axis: Axis = ...,
8660-
bool_only: bool | None = None,
8660+
bool_only: bool | None = ...,
86618661
skipna: bool = ...,
86628662
level: Level = ...,
86638663
**kwargs,

pandas/core/series.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -4262,7 +4262,7 @@ def aggregate(self, func=None, axis=0, *args, **kwargs):
42624262
def any(
42634263
self: Series,
42644264
axis: Axis = ...,
4265-
bool_only: bool | None = None,
4265+
bool_only: bool | None = ...,
42664266
skipna: bool = ...,
42674267
level: None = ...,
42684268
**kwargs,
@@ -4273,7 +4273,7 @@ def any(
42734273
def any(
42744274
self: Series,
42754275
axis: Axis = ...,
4276-
bool_only: bool | None = None,
4276+
bool_only: bool | None = ...,
42774277
skipna: bool = ...,
42784278
level: Level = ...,
42794279
**kwargs,

0 commit comments

Comments
 (0)