Skip to content

Commit 33ff7cc

Browse files
committed
Use correct language for referring to database lookups
1 parent de7fceb commit 33ff7cc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ After doing this, you may call the method corresponding to request type
5555
(e.g., ``city`` or ``country``), passing it the IP address you want to look up.
5656

5757
If the request succeeds, the method call will return a model class for the
58-
end point you called. This model in turn contains multiple record classes,
58+
endpoint you called. This model in turn contains multiple record classes,
5959
each of which represents part of the data returned by the web service.
6060

6161
If the request fails, the client class throws an exception.
@@ -181,11 +181,11 @@ Database Usage
181181

182182
To use the database API, you first construct a ``geoip2.database.Reader`` using
183183
the path to the file as the first argument. After doing this, you may call the
184-
method corresponding to request type (e.g., ``city`` or ``country``), passing it
184+
method corresponding to database type (e.g., ``city`` or ``country``), passing it
185185
the IP address you want to look up.
186186

187-
If the request succeeds, the method call will return a model class for the
188-
end point you called. This model in turn contains multiple record classes,
187+
If the lookup succeeds, the method call will return a model class for the
188+
database method you called. This model in turn contains multiple record classes,
189189
each of which represents part of the data for the record.
190190

191191
If the request fails, the reader class throws an exception.
@@ -420,7 +420,7 @@ What data is returned?
420420
----------------------
421421

422422
While many of the models contain the same basic records, the attributes which
423-
can be populated vary between web service end points or databases. In
423+
can be populated vary between web service endpoints or databases. In
424424
addition, while a model may offer a particular piece of data, MaxMind does not
425425
always have every piece of data for any given IP address.
426426

0 commit comments

Comments
 (0)