Skip to content

Commit 14872a5

Browse files
Update base.py
1 parent eb1af61 commit 14872a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/dtypes/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -206,15 +206,15 @@ def names(self) -> list[str] | None:
206206
"""
207207
return None
208208

209-
def construct_array_type(self, cls) -> type_t[ExtensionArray]:
209+
def construct_array_type(self) -> type_t[ExtensionArray]:
210210
"""
211211
Return the array type associated with this dtype.
212212
213213
Returns
214214
-------
215215
type
216216
"""
217-
raise AbstractMethodError(cls)
217+
raise AbstractMethodError(self)
218218

219219
def empty(self, shape: Shape) -> ExtensionArray:
220220
"""

0 commit comments

Comments
 (0)