Correct docstring for get_location

This commit is contained in:
Gregory Danielson 2020-11-01 16:30:00 -06:00
parent e1adca3bf0
commit 7af4aaa8ec
No known key found for this signature in database
GPG key ID: 88D4EF22F6C14CA7

View file

@ -185,7 +185,7 @@ def workaround(city, region, country):
def get_location(ip_addr):
"""
Return location pair (CITY, COUNTRY) for `ip_addr`
Return location triple (CITY, REGION, COUNTRY) for `ip_addr`
"""
for method in IPLOCATION_ORDER:
if method == 'geoip':