Remove documentation for non-existing socket class attributes (GH-28029) The functions in question are available on the module-level only.