File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -579,8 +579,8 @@ PyObject *CPyStr_Lower(PyObject *self) {
579579 // Unified loop for all Unicode kinds
580580 for (Py_ssize_t i = 0 ; i < len ; i ++ ) {
581581 Py_UCS4 ch = PyUnicode_READ (kind , data , i );
582- Py_UCS4 lower = Py_UNICODE_TOLOWER (ch );
583- PyUnicode_WRITE (res_kind , res_data , i , lower );
582+ Py_UCS4 rch = Py_UNICODE_TOLOWER (ch );
583+ PyUnicode_WRITE (res_kind , res_data , i , rch );
584584 }
585585 return res ;
586586}
@@ -617,8 +617,8 @@ PyObject *CPyStr_Upper(PyObject *self) {
617617 // Unified loop for all Unicode kinds
618618 for (Py_ssize_t i = 0 ; i < len ; i ++ ) {
619619 Py_UCS4 ch = PyUnicode_READ (kind , data , i );
620- Py_UCS4 upper = Py_UNICODE_TOUPPER (ch );
621- PyUnicode_WRITE (res_kind , res_data , i , upper );
620+ Py_UCS4 rch = Py_UNICODE_TOUPPER (ch );
621+ PyUnicode_WRITE (res_kind , res_data , i , rch );
622622 }
623623 return res ;
624624}
You can’t perform that action at this time.
0 commit comments