@@ -17,9 +17,7 @@ class Reader(object):
1717 Instances of this class provide a reader for the GeoIP2 database format.
1818 IP addresses can be looked up using the ``country`` and ``city`` methods.
1919 We also provide ``city_isp_org`` and ``omni`` methods to ease
20- compatibility with the web service client, although we may offer the
21- ability to specify additional databases to replicate these web services in
22- the future (e.g., the ISP/Org database).
20+ compatibility with the web service client.
2321
2422 Usage
2523 -----
@@ -49,7 +47,7 @@ def __init__(self, filename, locales=None):
4947 self ._locales = locales
5048
5149 def country (self , ip_address ):
52- """Get the Country record object for the IP address
50+ """Get the Country object for the IP address
5351
5452 :param ip_address: IPv4 or IPv6 address as a string.
5553
@@ -60,7 +58,7 @@ def country(self, ip_address):
6058 return self ._model_for (geoip2 .models .Country , ip_address )
6159
6260 def city (self , ip_address ):
63- """Get the City record object for the IP address
61+ """Get the City object for the IP address
6462
6563 :param ip_address: IPv4 or IPv6 address as a string.
6664
@@ -70,7 +68,7 @@ def city(self, ip_address):
7068 return self ._model_for (geoip2 .models .City , ip_address )
7169
7270 def city_isp_org (self , ip_address ):
73- """Get the CityISPOrg record object for the IP address
71+ """Get the CityISPOrg object for the IP address
7472
7573 :param ip_address: IPv4 or IPv6 address as a string. If no address
7674 is provided.
@@ -82,7 +80,7 @@ def city_isp_org(self, ip_address):
8280 return self ._model_for (geoip2 .models .CityISPOrg , ip_address )
8381
8482 def omni (self , ip_address ):
85- """Get the Omni record object for the IP address
83+ """Get the Omni object for the IP address
8684
8785 :param ip_address: IPv4 or IPv6 address as a string.
8886
0 commit comments