@@ -3256,7 +3256,7 @@ date_fromtimestamp(PyObject *cls, PyObject *obj)
32563256 * generally the same as calling C's time.
32573257 */
32583258static PyObject *
3259- date_today (PyObject * cls , PyObject * dummy )
3259+ date_today (PyObject * cls , PyObject * Py_UNUSED ( dummy ) )
32603260{
32613261 PyObject * time ;
32623262 PyObject * result ;
@@ -3531,7 +3531,7 @@ date_repr(PyObject *op)
35313531}
35323532
35333533static PyObject *
3534- date_isoformat (PyObject * op , PyObject * Py_UNUSED (ignored ))
3534+ date_isoformat (PyObject * op , PyObject * Py_UNUSED (dummy ))
35353535{
35363536 PyDateTime_Date * self = _PyDate_CAST (op );
35373537 return PyUnicode_FromFormat ("%04d-%02d-%02d" ,
@@ -3547,7 +3547,7 @@ date_str(PyObject *self)
35473547
35483548
35493549static PyObject *
3550- date_ctime (PyObject * self , PyObject * Py_UNUSED (ignored ))
3550+ date_ctime (PyObject * self , PyObject * Py_UNUSED (dummy ))
35513551{
35523552 return format_ctime (self , 0 , 0 , 0 );
35533553}
@@ -3593,7 +3593,7 @@ date_format(PyObject *self, PyObject *args)
35933593/* ISO methods. */
35943594
35953595static PyObject *
3596- date_isoweekday (PyObject * self , PyObject * Py_UNUSED (ignored ))
3596+ date_isoweekday (PyObject * self , PyObject * Py_UNUSED (dummy ))
35973597{
35983598 int dow = weekday (GET_YEAR (self ), GET_MONTH (self ), GET_DAY (self ));
35993599
@@ -3750,7 +3750,7 @@ iso_calendar_date_new_impl(PyTypeObject *type, int year, int week,
37503750}
37513751
37523752static PyObject *
3753- date_isocalendar (PyObject * self , PyObject * Py_UNUSED (ignored ))
3753+ date_isocalendar (PyObject * self , PyObject * Py_UNUSED (dummy ))
37543754{
37553755 int year = GET_YEAR (self );
37563756 int week1_monday = iso_week1_monday (year );
@@ -3805,7 +3805,7 @@ date_richcompare(PyObject *self, PyObject *other, int op)
38053805}
38063806
38073807static PyObject *
3808- date_timetuple (PyObject * self , PyObject * Py_UNUSED (ignored ))
3808+ date_timetuple (PyObject * self , PyObject * Py_UNUSED (dummy ))
38093809{
38103810 return build_struct_time (GET_YEAR (self ),
38113811 GET_MONTH (self ),
@@ -3853,14 +3853,14 @@ date_hash(PyObject *op)
38533853}
38543854
38553855static PyObject *
3856- date_toordinal (PyObject * self , PyObject * Py_UNUSED (ignored ))
3856+ date_toordinal (PyObject * self , PyObject * Py_UNUSED (dummy ))
38573857{
38583858 return PyLong_FromLong (ymd_to_ord (GET_YEAR (self ), GET_MONTH (self ),
38593859 GET_DAY (self )));
38603860}
38613861
38623862static PyObject *
3863- date_weekday (PyObject * self , PyObject * Py_UNUSED (ignored ))
3863+ date_weekday (PyObject * self , PyObject * Py_UNUSED (dummy ))
38643864{
38653865 int dow = weekday (GET_YEAR (self ), GET_MONTH (self ), GET_DAY (self ));
38663866 return PyLong_FromLong (dow );
@@ -3879,7 +3879,7 @@ date_getstate(PyDateTime_Date *self)
38793879}
38803880
38813881static PyObject *
3882- date_reduce (PyObject * op , PyObject * Py_UNUSED (ignored ))
3882+ date_reduce (PyObject * op , PyObject * Py_UNUSED (dummy ))
38833883{
38843884 PyDateTime_Date * self = _PyDate_CAST (op );
38853885 return Py_BuildValue ("(ON)" , Py_TYPE (self ), date_getstate (self ));
@@ -4145,7 +4145,7 @@ tzinfo_fromutc(PyObject *self, PyObject *dt)
41454145 */
41464146
41474147static PyObject *
4148- tzinfo_reduce (PyObject * self , PyObject * Py_UNUSED (ignored ))
4148+ tzinfo_reduce (PyObject * self , PyObject * Py_UNUSED (dummy ))
41494149{
41504150 PyObject * args , * state ;
41514151 PyObject * getinitargs ;
@@ -4411,7 +4411,7 @@ timezone_fromutc(PyObject *op, PyObject *arg)
44114411}
44124412
44134413static PyObject *
4414- timezone_getinitargs (PyObject * op , PyObject * Py_UNUSED (ignored ))
4414+ timezone_getinitargs (PyObject * op , PyObject * Py_UNUSED (dummy ))
44154415{
44164416 PyDateTime_TimeZone * self = _PyTimeZone_CAST (op );
44174417 if (self -> name == NULL )
@@ -4697,19 +4697,19 @@ time_dealloc(PyObject *op)
46974697
46984698/* These are all METH_NOARGS, so don't need to check the arglist. */
46994699static PyObject *
4700- time_utcoffset (PyObject * op , PyObject * Py_UNUSED (unused )) {
4700+ time_utcoffset (PyObject * op , PyObject * Py_UNUSED (dummy )) {
47014701 PyDateTime_Time * self = _PyTime_CAST (op );
47024702 return call_utcoffset (GET_TIME_TZINFO (self ), Py_None );
47034703}
47044704
47054705static PyObject *
4706- time_dst (PyObject * op , PyObject * Py_UNUSED (unused )) {
4706+ time_dst (PyObject * op , PyObject * Py_UNUSED (dummy )) {
47074707 PyDateTime_Time * self = _PyTime_CAST (op );
47084708 return call_dst (GET_TIME_TZINFO (self ), Py_None );
47094709}
47104710
47114711static PyObject *
4712- time_tzname (PyObject * op , PyObject * Py_UNUSED (unused )) {
4712+ time_tzname (PyObject * op , PyObject * Py_UNUSED (dummy )) {
47134713 PyDateTime_Time * self = _PyTime_CAST (op );
47144714 return call_tzname (GET_TIME_TZINFO (self ), Py_None );
47154715}
@@ -6275,7 +6275,7 @@ datetime_isoformat(PyObject *op, PyObject *args, PyObject *kw)
62756275}
62766276
62776277static PyObject *
6278- datetime_ctime (PyObject * op , PyObject * Py_UNUSED (ignored ))
6278+ datetime_ctime (PyObject * op , PyObject * Py_UNUSED (dummy ))
62796279{
62806280 PyDateTime_DateTime * self = _PyDateTime_CAST (op );
62816281 return format_ctime (op ,
@@ -6756,7 +6756,7 @@ datetime_astimezone(PyObject *op, PyObject *args, PyObject *kw)
67566756}
67576757
67586758static PyObject *
6759- datetime_timetuple (PyObject * op , PyObject * Py_UNUSED (ignored ))
6759+ datetime_timetuple (PyObject * op , PyObject * Py_UNUSED (dummy ))
67606760{
67616761 PyDateTime_DateTime * self = _PyDateTime_CAST (op );
67626762 int dstflag = -1 ;
@@ -6832,7 +6832,7 @@ local_to_seconds(int year, int month, int day,
68326832#define EPOCH_SECONDS (719163LL * 24 * 60 * 60)
68336833
68346834static PyObject *
6835- datetime_timestamp (PyObject * op , PyObject * Py_UNUSED (ignored ))
6835+ datetime_timestamp (PyObject * op , PyObject * Py_UNUSED (dummy ))
68366836{
68376837 PyDateTime_DateTime * self = _PyDateTime_CAST (op );
68386838 PyObject * result ;
@@ -6867,7 +6867,7 @@ datetime_timestamp(PyObject *op, PyObject *Py_UNUSED(ignored))
68676867}
68686868
68696869static PyObject *
6870- datetime_getdate (PyObject * op , PyObject * Py_UNUSED (ignored ))
6870+ datetime_getdate (PyObject * op , PyObject * Py_UNUSED (dummy ))
68716871{
68726872 PyDateTime_DateTime * self = _PyDateTime_CAST (op );
68736873 return new_date (GET_YEAR (self ),
@@ -6876,7 +6876,7 @@ datetime_getdate(PyObject *op, PyObject *Py_UNUSED(ignored))
68766876}
68776877
68786878static PyObject *
6879- datetime_gettime (PyObject * op , PyObject * Py_UNUSED (ignored ))
6879+ datetime_gettime (PyObject * op , PyObject * Py_UNUSED (dummy ))
68806880{
68816881 PyDateTime_DateTime * self = _PyDateTime_CAST (op );
68826882 return new_time (DATE_GET_HOUR (self ),
@@ -6888,7 +6888,7 @@ datetime_gettime(PyObject *op, PyObject *Py_UNUSED(ignored))
68886888}
68896889
68906890static PyObject *
6891- datetime_gettimetz (PyObject * op , PyObject * Py_UNUSED (ignored ))
6891+ datetime_gettimetz (PyObject * op , PyObject * Py_UNUSED (dummy ))
68926892{
68936893 PyDateTime_DateTime * self = _PyDateTime_CAST (op );
68946894 return new_time (DATE_GET_HOUR (self ),
@@ -6900,7 +6900,7 @@ datetime_gettimetz(PyObject *op, PyObject *Py_UNUSED(ignored))
69006900}
69016901
69026902static PyObject *
6903- datetime_utctimetuple (PyObject * op , PyObject * Py_UNUSED (ignored ))
6903+ datetime_utctimetuple (PyObject * op , PyObject * Py_UNUSED (dummy ))
69046904{
69056905 int y , m , d , hh , mm , ss ;
69066906 PyObject * tzinfo ;
0 commit comments