def contribute_socket(self, sock_info):
        """Provide socket information to the error handler."""
        # Currently, we only extract the max_wire_version information.
        self._max_wire_version = sock_info.max_wire_version
Provide socket information to the error handler.
stackoverflow/venv/lib/python3.6/site-packages/pymongo/mongo_client.py