Skip to content

Commit 33bf0e8

Browse files
authored
Merge pull request #373 from maxmind/greg/stf-555
Use 'GeoIP'/'GeoLite' branding in documentation
2 parents 97d40c7 + 4671ef2 commit 33bf0e8

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Usage
3434
-----
3535

3636
To use this module, you must first download or create a MaxMind DB file. We
37-
provide `free GeoLite2 databases
37+
provide `free GeoLite databases
3838
<https://dev.maxmind.com/geoip/geolocate-an-ip/databases?lang=en>`_. These
3939
files must be decompressed with ``gunzip``.
4040

@@ -58,7 +58,7 @@ file descriptor immediately after the ``Reader`` object is created.
5858
The ``open_database`` function returns a ``Reader`` object. To look up an IP
5959
address, use the ``get`` method on this object. The method will return the
6060
corresponding values for the IP address from the database (e.g., a dictionary
61-
for GeoIP2/GeoLite2 databases). If the database does not contain a record for
61+
for GeoIP/GeoLite databases). If the database does not contain a record for
6262
that IP address, the method will return ``None``.
6363

6464
If you wish to also retrieve the prefix length for the record, use the

maxminddb/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def open_database(
4545
"""Open a MaxMind DB database.
4646
4747
Arguments:
48-
database: A path to a valid MaxMind DB file such as a GeoIP2 database
48+
database: A path to a valid MaxMind DB file such as a GeoIP database
4949
file, or a file descriptor in the case of MODE_FD.
5050
mode: mode to open the database with. Valid mode are:
5151
* MODE_MMAP_EXT - use the C extension with memory map.

maxminddb/extension.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Reader:
2525
"""Reader for the MaxMind DB file format.
2626
2727
Arguments:
28-
database: A path to a valid MaxMind DB file such as a GeoIP2 database
28+
database: A path to a valid MaxMind DB file such as a GeoIP database
2929
file, or a file descriptor in the case of MODE_FD.
3030
mode: mode to open the database with. The only supported modes are
3131
MODE_AUTO and MODE_MMAP_EXT.

maxminddb/reader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def __init__(
5454
"""Reader for the MaxMind DB file format.
5555
5656
Arguments:
57-
database: A path to a valid MaxMind DB file such as a GeoIP2 database
57+
database: A path to a valid MaxMind DB file such as a GeoIP database
5858
file, or a file descriptor in the case of MODE_FD.
5959
mode: mode to open the database with. Valid mode are:
6060
* MODE_MMAP - read from memory map.

0 commit comments

Comments
 (0)