Skip to content
This repository was archived by the owner on Jun 1, 2022. It is now read-only.

Commit d2d5298

Browse files
committed
Added note to example
1 parent a71eada commit d2d5298

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

examples/city_charset.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
#!/usr/bin/python
22

3+
# This example is only for Python 2. In Python 3, all returned strings are
4+
# unicode.
35
import GeoIP
46

57
# open the citydatabase. All cities return in iso-8859-1 by default

0 commit comments

Comments
 (0)