Skip to content

Commit bb83b94

Browse files
committed
increased stacklevel to account for a new wrapper introduced by doc() decorator
1 parent f513fb0 commit bb83b94

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/arrays/datetimelike.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -792,7 +792,7 @@ def shift(self, periods=1, fill_value=None, axis=0):
792792
"will raise in a future version, pass "
793793
f"{self._scalar_type.__name__} instead.",
794794
FutureWarning,
795-
stacklevel=7,
795+
stacklevel=9,
796796
)
797797
fill_value = new_fill
798798

0 commit comments

Comments
 (0)