@@ -1098,7 +1098,7 @@ class NaTType(_NaT):
1098
1098
* bool contains flags to determine if time is dst or not (note
1099
1099
that this flag is only applicable for ambiguous fall dst dates).
1100
1100
* 'NaT' will return NaT for an ambiguous time.
1101
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1101
+ * 'raise' will raise a ValueError for an ambiguous time.
1102
1102
1103
1103
nonexistent : {'raise', 'shift_forward', 'shift_backward', 'NaT', \
1104
1104
timedelta}, default 'raise'
@@ -1111,7 +1111,7 @@ timedelta}, default 'raise'
1111
1111
closest existing time.
1112
1112
* 'NaT' will return NaT where there are nonexistent times.
1113
1113
* timedelta objects will shift nonexistent times by the timedelta.
1114
- * 'raise' will raise an NonExistentTimeError if there are
1114
+ * 'raise' will raise a ValueError if there are
1115
1115
nonexistent times.
1116
1116
1117
1117
Returns
@@ -1199,7 +1199,7 @@ timedelta}, default 'raise'
1199
1199
* bool contains flags to determine if time is dst or not (note
1200
1200
that this flag is only applicable for ambiguous fall dst dates).
1201
1201
* 'NaT' will return NaT for an ambiguous time.
1202
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1202
+ * 'raise' will raise a ValueError for an ambiguous time.
1203
1203
1204
1204
nonexistent : {'raise', 'shift_forward', 'shift_backward', 'NaT', \
1205
1205
timedelta}, default 'raise'
@@ -1212,7 +1212,7 @@ timedelta}, default 'raise'
1212
1212
closest existing time.
1213
1213
* 'NaT' will return NaT where there are nonexistent times.
1214
1214
* timedelta objects will shift nonexistent times by the timedelta.
1215
- * 'raise' will raise an NonExistentTimeError if there are
1215
+ * 'raise' will raise a ValueError if there are
1216
1216
nonexistent times.
1217
1217
1218
1218
Raises
@@ -1294,7 +1294,7 @@ timedelta}, default 'raise'
1294
1294
* bool contains flags to determine if time is dst or not (note
1295
1295
that this flag is only applicable for ambiguous fall dst dates).
1296
1296
* 'NaT' will return NaT for an ambiguous time.
1297
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1297
+ * 'raise' will raise a ValueError for an ambiguous time.
1298
1298
1299
1299
nonexistent : {'raise', 'shift_forward', 'shift_backward', 'NaT', \
1300
1300
timedelta}, default 'raise'
@@ -1307,7 +1307,7 @@ timedelta}, default 'raise'
1307
1307
closest existing time.
1308
1308
* 'NaT' will return NaT where there are nonexistent times.
1309
1309
* timedelta objects will shift nonexistent times by the timedelta.
1310
- * 'raise' will raise an NonExistentTimeError if there are
1310
+ * 'raise' will raise a ValueError if there are
1311
1311
nonexistent times.
1312
1312
1313
1313
Raises
@@ -1458,7 +1458,7 @@ timedelta}, default 'raise'
1458
1458
* bool contains flags to determine if time is dst or not (note
1459
1459
that this flag is only applicable for ambiguous fall dst dates).
1460
1460
* 'NaT' will return NaT for an ambiguous time.
1461
- * 'raise' will raise an AmbiguousTimeError for an ambiguous time.
1461
+ * 'raise' will raise a ValueError for an ambiguous time.
1462
1462
1463
1463
nonexistent : 'shift_forward', 'shift_backward', 'NaT', timedelta, \
1464
1464
default 'raise'
@@ -1473,7 +1473,7 @@ default 'raise'
1473
1473
closest existing time.
1474
1474
* 'NaT' will return NaT where there are nonexistent times.
1475
1475
* timedelta objects will shift nonexistent times by the timedelta.
1476
- * 'raise' will raise an NonExistentTimeError if there are
1476
+ * 'raise' will raise a ValueError if there are
1477
1477
nonexistent times.
1478
1478
1479
1479
Returns
0 commit comments