Remove documentation for non-existing socket class attributes (GH-28029)

The functions in question are available on the module-level only.
1 file changed