File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 2828 LossySetitemError ,
2929)
3030from pandas .errors .cow import _chained_assignment_msg
31- from pandas .util ._decorators import doc
31+ from pandas .util ._decorators import (
32+ doc ,
33+ set_module ,
34+ )
3235
3336from pandas .core .dtypes .cast import (
3437 can_hold_element ,
101104
102105
103106# the public IndexSlicerMaker
107+ @set_module ("pandas" )
104108class _IndexSlice :
105109 """
106110 Create an object to more easily perform multi-index slicing.
Original file line number Diff line number Diff line change @@ -529,5 +529,6 @@ def test_set_module():
529529 assert pd .to_timedelta .__module__ == "pandas"
530530 assert pd .to_numeric .__module__ == "pandas"
531531 assert pd .NamedAgg .__module__ == "pandas"
532+ assert pd .IndexSlice .__module__ == "pandas"
532533 assert api .typing .SeriesGroupBy .__module__ == "pandas.api.typing"
533534 assert api .typing .DataFrameGroupBy .__module__ == "pandas.api.typing"
You can’t perform that action at this time.
0 commit comments