Skip to content

Commit 53e8177

Browse files
committed
Revert "Remove useless object inheritance"
This reverts commit e256afc. We are still support Python 2 and we want new-style classes there.
1 parent b4d29c3 commit 53e8177

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

geoip2/database.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
import geoip2.errors
1717

1818

19-
class Reader:
19+
class Reader(object):
2020
"""GeoIP2 database Reader object.
2121
2222
Instances of this class provide a reader for the GeoIP2 database format.

geoip2/mixins.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
from abc import ABCMeta
44

55

6-
class SimpleEquality:
6+
class SimpleEquality(object):
77
"""Naive __dict__ equality mixin"""
88

99
__metaclass__ = ABCMeta

geoip2/webservice.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
PermissionRequiredError)
4040

4141

42-
class Client:
42+
class Client(object):
4343
"""Creates a new client object.
4444
4545
It accepts the following required arguments:

0 commit comments

Comments
 (0)