set_defhost(host)
New default host (string/None).
Previous default host specification.
Bad argument type, or too many arguments.
set_defhost() sets the default host value for new connections. If None is supplied as parameter, environment variables will be used in future connections. It returns the previous setting for default host.