Skip to content

Commit d41b2f2

Browse files
Delete superfluous line
1 parent 7dccc3e commit d41b2f2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pandas/core/arrays/interval.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,6 @@ def _simple_new(
228228

229229
if dtype is not None:
230230
# GH 19262: dtype must be an IntervalDtype to override inferred
231-
dtype = pandas_dtype(dtype)
232231
if is_interval_dtype(dtype):
233232
dtype = cast(IntervalDtype, dtype)
234233
if dtype.subtype is not None:

0 commit comments

Comments
 (0)