Skip to content

Commit 7127b84

Browse files
authored
TYP: fix mypy on master (#40930)
1 parent 88df92f commit 7127b84

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

pandas/core/groupby/generic.py

-6
Original file line numberDiff line numberDiff line change
@@ -177,9 +177,6 @@ def pinner(cls):
177177
class SeriesGroupBy(GroupBy[Series]):
178178
_apply_allowlist = base.series_apply_allowlist
179179

180-
# Defined as a cache_readonly in SelectionMixin
181-
_obj_with_exclusions: Series
182-
183180
def _iterate_slices(self) -> Iterable[Series]:
184181
yield self._selected_obj
185182

@@ -930,9 +927,6 @@ def pct_change(self, periods=1, fill_method="pad", limit=None, freq=None):
930927
@pin_allowlisted_properties(DataFrame, base.dataframe_apply_allowlist)
931928
class DataFrameGroupBy(GroupBy[DataFrame]):
932929

933-
# Defined as a cache_readonly in SelectionMixin
934-
_obj_with_exclusions: DataFrame
935-
936930
_apply_allowlist = base.dataframe_apply_allowlist
937931

938932
_agg_examples_doc = dedent(

0 commit comments

Comments
 (0)