mirror of
https://github.com/chubin/wttr.in.git
synced 2025-08-15 08:12:48 +02:00
Correct docstring for get_location
This commit is contained in:
@ -185,7 +185,7 @@ def workaround(city, region, country):
|
|||||||
|
|
||||||
def get_location(ip_addr):
|
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:
|
for method in IPLOCATION_ORDER:
|
||||||
if method == 'geoip':
|
if method == 'geoip':
|
||||||
|
Reference in New Issue
Block a user