@@ -1067,7 +1067,7 @@ class NaTType(_NaT):
1067
1067
* bool contains flags to determine if time is dst or not (note
1068
1068
that this flag is only applicable for ambiguous fall dst dates).
1069
1069
* 'NaT' will return NaT for an ambiguous time.
1070
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1070
+ * 'raise' will raise a ValueError for an ambiguous time.
1071
1071
1072
1072
nonexistent : {'raise', 'shift_forward', 'shift_backward', 'NaT', \
1073
1073
timedelta}, default 'raise'
@@ -1080,7 +1080,7 @@ timedelta}, default 'raise'
1080
1080
closest existing time.
1081
1081
* 'NaT' will return NaT where there are nonexistent times.
1082
1082
* timedelta objects will shift nonexistent times by the timedelta.
1083
- * 'raise' will raise an NonExistentTimeError if there are
1083
+ * 'raise' will raise a ValueError if there are
1084
1084
nonexistent times.
1085
1085
1086
1086
Returns
@@ -1168,7 +1168,7 @@ timedelta}, default 'raise'
1168
1168
* bool contains flags to determine if time is dst or not (note
1169
1169
that this flag is only applicable for ambiguous fall dst dates).
1170
1170
* 'NaT' will return NaT for an ambiguous time.
1171
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1171
+ * 'raise' will raise a ValueError for an ambiguous time.
1172
1172
1173
1173
nonexistent : {'raise', 'shift_forward', 'shift_backward', 'NaT', \
1174
1174
timedelta}, default 'raise'
@@ -1181,7 +1181,7 @@ timedelta}, default 'raise'
1181
1181
closest existing time.
1182
1182
* 'NaT' will return NaT where there are nonexistent times.
1183
1183
* timedelta objects will shift nonexistent times by the timedelta.
1184
- * 'raise' will raise an NonExistentTimeError if there are
1184
+ * 'raise' will raise a ValueError if there are
1185
1185
nonexistent times.
1186
1186
1187
1187
Raises
@@ -1263,7 +1263,7 @@ timedelta}, default 'raise'
1263
1263
* bool contains flags to determine if time is dst or not (note
1264
1264
that this flag is only applicable for ambiguous fall dst dates).
1265
1265
* 'NaT' will return NaT for an ambiguous time.
1266
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1266
+ * 'raise' will raise a ValueError for an ambiguous time.
1267
1267
1268
1268
nonexistent : {'raise', 'shift_forward', 'shift_backward', 'NaT', \
1269
1269
timedelta}, default 'raise'
@@ -1276,7 +1276,7 @@ timedelta}, default 'raise'
1276
1276
closest existing time.
1277
1277
* 'NaT' will return NaT where there are nonexistent times.
1278
1278
* timedelta objects will shift nonexistent times by the timedelta.
1279
- * 'raise' will raise an NonExistentTimeError if there are
1279
+ * 'raise' will raise a ValueError if there are
1280
1280
nonexistent times.
1281
1281
1282
1282
Raises
@@ -1427,7 +1427,7 @@ timedelta}, default 'raise'
1427
1427
* bool contains flags to determine if time is dst or not (note
1428
1428
that this flag is only applicable for ambiguous fall dst dates).
1429
1429
* 'NaT' will return NaT for an ambiguous time.
1430
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1430
+ * 'raise' will raise a ValueError for an ambiguous time.
1431
1431
1432
1432
nonexistent : 'shift_forward', 'shift_backward', 'NaT', timedelta, \
1433
1433
default 'raise'
@@ -1442,7 +1442,7 @@ default 'raise'
1442
1442
closest existing time.
1443
1443
* 'NaT' will return NaT where there are nonexistent times.
1444
1444
* timedelta objects will shift nonexistent times by the timedelta.
1445
- * 'raise' will raise an NonExistentTimeError if there are
1445
+ * 'raise' will raise a ValueError if there are
1446
1446
nonexistent times.
1447
1447
1448
1448
Returns
0 commit comments