Link: https://github.com/pandas-dev/pandas/blob/ca429943c70cee2077941f052281b92afc0c2054/pandas/core/generic.py#L10657

pandas 2.1.0rc0

Comment From: phofl

Thx for reporting.

Just a FYI: That's not public, it is correctly used in the frame implementation

Comment From: loicdiridollou

Just looping in here a little later, working on some improvement for the typing in pandas-stubs and wondering the same question. At least for 2.3 and 3.0 I don't see it used anywhere. Do we intend to keep it in the code without it having any effect or do we intend to fix it? (Happy to open a PR for it)