Skip to content

Commit 274abee

Browse files
committed
COMPAT: remove __metaclass__ syntax from core/dtypes. This is py2 only (and not used anyhow)
1 parent 78fcce4 commit 274abee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Diff for: pandas/core/dtypes.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ class CategoricalDtypeType(type):
8686
pass
8787

8888
class CategoricalDtype(ExtensionDtype):
89-
__metaclass__ = CategoricalDtypeType
89+
9090
"""
9191
A np.dtype duck-typed class, suitable for holding a custom categorical dtype.
9292
@@ -126,7 +126,7 @@ class DatetimeTZDtypeType(type):
126126
pass
127127

128128
class DatetimeTZDtype(ExtensionDtype):
129-
__metaclass__ = DatetimeTZDtypeType
129+
130130
"""
131131
A np.dtype duck-typed class, suitable for holding a custom datetime with tz dtype.
132132

0 commit comments

Comments
 (0)