Explicitly indicate None as ip_address’s default value

This commit is contained in:
Adrián Chaves 2020-02-10 19:54:47 +01:00 committed by GitHub
parent 13ba9bc629
commit 037ae5b22e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -685,8 +685,10 @@ Response objects
.. attribute:: Response.ip_address
The IP address of the server from which the Response originated.
This attribute is currently only populated by the HTTP 1.1 download
handler, i.e. for ``http(s)`` responses.
handler, i.e. for ``http(s)`` responses. For other handlers,
:attr:`ip_address` is always ``None``.
.. method:: Response.copy()