Remove unused APIs from ruff_python_stdlib (#27390)
## Summary
This PR removes an unused API from ruff_python_stdlib identified by Hawk
0.1.11. It is split from #27339 so the removal can be reviewed
independently at the crate boundary.
- 6 net lines removed
- 6 deletions
- 1 file changed