Skip to content

Commit d52c631

Browse files
committed
formatting updates for error msg
1 parent 1c4decd commit d52c631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pandas/core/dtypes/dtypes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,8 @@ def __new__(cls, subtype=None):
895895
subtype = m.group('subtype')
896896
else:
897897
# if no match found, a bad datatype was passed
898-
msg = ('category, object, and string subtypes are not supported '
899-
'for IntervalDtype')
898+
msg = ('category, object, and string subtypes are not '
899+
'supported for IntervalDtype')
900900
raise TypeError(msg)
901901
try:
902902
subtype = pandas_dtype(subtype)

0 commit comments

Comments
 (0)