Skip to content

Commit 62fc481

Browse files
max-sixtyjreback
authored andcommitted
CLN: no return on init
Author: Maximilian Roos <[email protected]> Closes #13197 from MaximilianR/init-return and squashes the following commits: ee5072a [Maximilian Roos] formatting
1 parent 4e4a7d9 commit 62fc481

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pandas/core/window.py

+2-4
Original file line numberDiff line numberDiff line change
@@ -985,10 +985,8 @@ class Expanding(_Rolling_and_Expanding):
985985

986986
def __init__(self, obj, min_periods=1, freq=None, center=False, axis=0,
987987
**kwargs):
988-
return super(Expanding, self).__init__(obj=obj,
989-
min_periods=min_periods,
990-
freq=freq, center=center,
991-
axis=axis)
988+
super(Expanding, self).__init__(obj=obj, min_periods=min_periods,
989+
freq=freq, center=center, axis=axis)
992990

993991
@property
994992
def _constructor(self):

0 commit comments

Comments
 (0)