@@ -172,7 +172,7 @@ static void
172172update_strong_cache (const PyTypeObject * const type , PyObject * key ,
173173 PyObject * zone );
174174static PyObject *
175- zone_from_strong_cache (const PyTypeObject * const type , PyObject * key );
175+ zone_from_strong_cache (const PyTypeObject * const type , PyObject * const key );
176176
177177static PyObject *
178178zoneinfo_new_instance (PyTypeObject * type , PyObject * key )
@@ -1220,19 +1220,19 @@ calendarrule_new(uint8_t month, uint8_t week, uint8_t day, int8_t hour,
12201220 // optimize out the first comparison if day is an unsigned integer anyway,
12211221 // we will leave this comparison in place and disable the compiler warning.
12221222#ifdef __clang__
1223- #pragma clang diagnostic push
1224- #pragma clang diagnostic ignored "-Wtautological-compare"
1223+ # pragma clang diagnostic push
1224+ # pragma clang diagnostic ignored "-Wtautological-compare"
12251225#endif
12261226#if defined(__GNUC__ ) && ((__GNUC__ > 4 ) || ((__GNUC__ == 4 ) && (__GNUC_MINOR__ > 5 )))
1227- #pragma GCC diagnostic push
1228- #pragma GCC diagnostic ignored "-Wtype-limits"
1227+ # pragma GCC diagnostic push
1228+ # pragma GCC diagnostic ignored "-Wtype-limits"
12291229#endif
12301230 if (day < 0 || day > 6 ) {
12311231#if defined(__GNUC__ ) && ((__GNUC__ > 4 ) || ((__GNUC__ == 4 ) && (__GNUC_MINOR__ > 5 )))
1232- #pragma GCC diagnostic pop
1232+ # pragma GCC diagnostic pop
12331233#endif
12341234#ifdef __clang__
1235- #pragma clang diagnostic pop
1235+ # pragma clang diagnostic pop
12361236#endif
12371237 PyErr_Format (PyExc_ValueError , "Day must be in [0, 6]" );
12381238 return -1 ;
0 commit comments