Skip to content

Commit 12dfcf5

Browse files
committed
Fixes typos.
1 parent b75d57c commit 12dfcf5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

geoip2/webservices.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@
6161
6262
If the web service returns an explicit error document, this is thrown as a
6363
WebServiceError exception. If some other sort of error occurs, this is
64-
thrown as a HTTPError. The difference is that the webservice error
64+
thrown as an HTTPError. The difference is that the WebServiceError
6565
includes an error message and error code delivered by the web service. The
6666
latter is thrown when some sort of unanticipated error occurs, such as the
6767
web service returning a 500 or an invalid error document.
6868
6969
If the web service returns any status code besides 200, 4xx, or 5xx, this also
70-
becomes a HTTPError.
70+
becomes an HTTPError.
7171
7272
Finally, if the web service returns a 200 but the body is invalid, the client
7373
throws a GeoIP2Error object.
@@ -126,16 +126,16 @@ class Client(object):
126126
"geoip.maxmind.com". In most cases, you should not need to set this
127127
explicitly.
128128
:param languages: This is list of language codes. This argument will be
129-
passed onto record classes to use when their name properties are
129+
passed on to record classes to use when their name properties are
130130
called. The default value is ['en'].
131131
132132
The order of the languages is significant. When a record class has
133133
multiple names (country, city, etc.), its name property will return
134134
the name in the first language that has one.
135135
136136
Note that the only language which is always present in the GeoIP2
137-
data in "en". If you do not include this language, the name property
138-
may end up returning None even when the record hass an English name.
137+
data is "en". If you do not include this language, the name property
138+
may end up returning None even when the record has an English name.
139139
140140
Currently, the valid language codes are:
141141

0 commit comments

Comments
 (0)