Skip to content

Commit 30589f7

Browse files
topper-123Terji PetersenTerji Petersen
authored
CLN: Index._hidden_attrs (#49299)
* CLN: Ibdex._hidden_attrs * CLN: black fixes Co-authored-by: Terji Petersen <[email protected]> Co-authored-by: Terji Petersen <[email protected]>
1 parent b74bf14 commit 30589f7

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

pandas/core/indexes/base.py

-7
Original file line numberDiff line numberDiff line change
@@ -316,13 +316,6 @@ class Index(IndexOpsMixin, PandasObject):
316316
Index(['a', 'b', 'c'], dtype='object')
317317
"""
318318

319-
# tolist is not actually deprecated, just suppressed in the __dir__
320-
_hidden_attrs: frozenset[str] = (
321-
PandasObject._hidden_attrs
322-
| IndexOpsMixin._hidden_attrs
323-
| frozenset(["contains", "set_value"])
324-
)
325-
326319
# To hand over control to subclasses
327320
_join_precedence = 1
328321

0 commit comments

Comments
 (0)