@@ -1054,16 +1054,16 @@ new_datetime_ex(int year, int month, int day, int hour, int minute,
1054
1054
}
1055
1055
1056
1056
static PyObject *
1057
- new_datetime_capi (int year , int month , int day , int hour , int minute ,
1058
- int second , int usecond , PyObject * tzinfo ,
1059
- PyTypeObject * type )
1057
+ new_datetime_nofold_capi (int year , int month , int day , int hour , int minute ,
1058
+ int second , int usecond , PyObject * tzinfo ,
1059
+ PyTypeObject * type )
1060
1060
{
1061
1061
return new_datetime_ex (year , month , day , hour , minute , second ,
1062
1062
usecond , tzinfo , type );
1063
1063
}
1064
1064
1065
1065
static PyObject *
1066
- new_datetime_fold_capi (int year , int month , int day , int hour , int minute ,
1066
+ new_datetime_capi (int year , int month , int day , int hour , int minute ,
1067
1067
int second , int usecond , PyObject * tzinfo , int fold ,
1068
1068
PyTypeObject * type )
1069
1069
{
@@ -1169,15 +1169,15 @@ new_time_ex2(int hour, int minute, int second, int usecond,
1169
1169
}
1170
1170
1171
1171
static PyObject *
1172
- new_time_capi (int hour , int minute , int second , int usecond ,
1173
- PyObject * tzinfo , PyTypeObject * type )
1172
+ new_time_nofold_capi (int hour , int minute , int second , int usecond ,
1173
+ PyObject * tzinfo , PyTypeObject * type )
1174
1174
{
1175
1175
return new_time_ex2 (hour , minute , second , usecond , tzinfo , 0 , type );
1176
1176
}
1177
1177
1178
1178
static PyObject *
1179
- new_time_fold_capi (int hour , int minute , int second , int usecond ,
1180
- PyObject * tzinfo , int fold , PyTypeObject * type )
1179
+ new_time_capi (int hour , int minute , int second , int usecond ,
1180
+ PyObject * tzinfo , int fold , PyTypeObject * type )
1181
1181
{
1182
1182
return new_time_ex2 (hour , minute , second , usecond , tzinfo , fold , type );
1183
1183
}
@@ -6773,14 +6773,14 @@ get_datetime_capi(void)
6773
6773
capi -> DeltaType = & PyDateTime_DeltaType ;
6774
6774
capi -> TZInfoType = & PyDateTime_TZInfoType ;
6775
6775
capi -> Date_FromDate = new_date_capi ;
6776
- capi -> DateTime_FromDateAndTime = new_datetime_capi ;
6777
- capi -> Time_FromTime = new_time_capi ;
6776
+ capi -> DateTime_FromDateAndTime = new_datetime_nofold_capi ;
6777
+ capi -> Time_FromTime = new_time_nofold_capi ;
6778
6778
capi -> Delta_FromDelta = new_delta_capi ;
6779
6779
capi -> TimeZone_FromTimeZone = new_timezone_capi ;
6780
6780
capi -> DateTime_FromTimestamp = datetime_fromtimestamp_capi ;
6781
6781
capi -> Date_FromTimestamp = datetime_date_fromtimestamp_capi ;
6782
- capi -> DateTime_FromDateAndTimeAndFold = new_datetime_fold_capi ;
6783
- capi -> Time_FromTimeAndFold = new_time_fold_capi ;
6782
+ capi -> DateTime_FromDateAndTimeAndFold = new_datetime_capi ;
6783
+ capi -> Time_FromTimeAndFold = new_time_capi ;
6784
6784
// Make sure this function is called after utc has
6785
6785
// been initialized.
6786
6786
datetime_state * st = STATIC_STATE ();
0 commit comments