There was an error while loading. Please reload this page.
1 parent 1c4decd commit d52c631Copy full SHA for d52c631
pandas/core/dtypes/dtypes.py
@@ -895,8 +895,8 @@ def __new__(cls, subtype=None):
895
subtype = m.group('subtype')
896
else:
897
# if no match found, a bad datatype was passed
898
- msg = ('category, object, and string subtypes are not supported '
899
- 'for IntervalDtype')
+ msg = ('category, object, and string subtypes are not '
+ 'supported for IntervalDtype')
900
raise TypeError(msg)
901
try:
902
subtype = pandas_dtype(subtype)
0 commit comments