summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRyan Verner <ryan.verner@gmail.com>2017-10-25 19:30:42 +1100
committerTim Graham <timograham@gmail.com>2017-10-25 10:07:37 -0400
commit9473a8481a29ff6272664b19eeb91bfc3640f705 (patch)
treee62cd23e0eb437c830499e8f858080f3e668dac4 /docs
parentd1317edad0a2908574d2a5b07383bfe58884628c (diff)
Fixed #28740 -- Added 'continent_code' and 'continent_name' in GeoIP2.city() dict.
Diffstat (limited to 'docs')
-rw-r--r--docs/ref/contrib/gis/geoip2.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/ref/contrib/gis/geoip2.txt b/docs/ref/contrib/gis/geoip2.txt
index b6622edb52..aba7995c0a 100644
--- a/docs/ref/contrib/gis/geoip2.txt
+++ b/docs/ref/contrib/gis/geoip2.txt
@@ -33,6 +33,8 @@ Here is an example of its usage::
{'country_code': 'US', 'country_name': 'United States'}
>>> g.city('72.14.207.99')
{'city': 'Mountain View',
+ 'continent_code': 'NA',
+ 'continent_name': 'North America',
'country_code': 'US',
'country_name': 'United States',
'dma_code': 807,