mirror of
https://github.com/chubin/wttr.in
synced 2024-11-15 00:27:09 +00:00
Correct docstring for get_location
This commit is contained in:
parent
e1adca3bf0
commit
7af4aaa8ec
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
||||
|
|
Loading…
Reference in a new issue