This contradicts what the docstring for the `retries` param says just above.

> +            Pass an integer number to retry connection errors that many times,
> +            but no other types of errors. Pass zero to never retry.

I believe both are wrong. Shouldn't it just be `retries = Retry(total=retries)`?