@@ -10,9 +10,9 @@ and there is at least one character in B, False otherwise.");
1010PyObject *
1111_Py_bytes_isspace (const char * cptr , Py_ssize_t len )
1212{
13- register const unsigned char * p
13+ const unsigned char * p
1414 = (unsigned char * ) cptr ;
15- register const unsigned char * e ;
15+ const unsigned char * e ;
1616
1717 /* Shortcut for single character strings */
1818 if (len == 1 && Py_ISSPACE (* p ))
@@ -40,9 +40,9 @@ and there is at least one character in B, False otherwise.");
4040PyObject *
4141_Py_bytes_isalpha (const char * cptr , Py_ssize_t len )
4242{
43- register const unsigned char * p
43+ const unsigned char * p
4444 = (unsigned char * ) cptr ;
45- register const unsigned char * e ;
45+ const unsigned char * e ;
4646
4747 /* Shortcut for single character strings */
4848 if (len == 1 && Py_ISALPHA (* p ))
@@ -70,9 +70,9 @@ and there is at least one character in B, False otherwise.");
7070PyObject *
7171_Py_bytes_isalnum (const char * cptr , Py_ssize_t len )
7272{
73- register const unsigned char * p
73+ const unsigned char * p
7474 = (unsigned char * ) cptr ;
75- register const unsigned char * e ;
75+ const unsigned char * e ;
7676
7777 /* Shortcut for single character strings */
7878 if (len == 1 && Py_ISALNUM (* p ))
@@ -100,9 +100,9 @@ and there is at least one character in B, False otherwise.");
100100PyObject *
101101_Py_bytes_isdigit (const char * cptr , Py_ssize_t len )
102102{
103- register const unsigned char * p
103+ const unsigned char * p
104104 = (unsigned char * ) cptr ;
105- register const unsigned char * e ;
105+ const unsigned char * e ;
106106
107107 /* Shortcut for single character strings */
108108 if (len == 1 && Py_ISDIGIT (* p ))
@@ -130,9 +130,9 @@ at least one cased character in B, False otherwise.");
130130PyObject *
131131_Py_bytes_islower (const char * cptr , Py_ssize_t len )
132132{
133- register const unsigned char * p
133+ const unsigned char * p
134134 = (unsigned char * ) cptr ;
135- register const unsigned char * e ;
135+ const unsigned char * e ;
136136 int cased ;
137137
138138 /* Shortcut for single character strings */
@@ -164,9 +164,9 @@ at least one cased character in B, False otherwise.");
164164PyObject *
165165_Py_bytes_isupper (const char * cptr , Py_ssize_t len )
166166{
167- register const unsigned char * p
167+ const unsigned char * p
168168 = (unsigned char * ) cptr ;
169- register const unsigned char * e ;
169+ const unsigned char * e ;
170170 int cased ;
171171
172172 /* Shortcut for single character strings */
@@ -200,9 +200,9 @@ otherwise.");
200200PyObject *
201201_Py_bytes_istitle (const char * cptr , Py_ssize_t len )
202202{
203- register const unsigned char * p
203+ const unsigned char * p
204204 = (unsigned char * ) cptr ;
205- register const unsigned char * e ;
205+ const unsigned char * e ;
206206 int cased , previous_is_cased ;
207207
208208 /* Shortcut for single character strings */
@@ -217,7 +217,7 @@ _Py_bytes_istitle(const char *cptr, Py_ssize_t len)
217217 cased = 0 ;
218218 previous_is_cased = 0 ;
219219 for (; p < e ; p ++ ) {
220- register const unsigned char ch = * p ;
220+ const unsigned char ch = * p ;
221221
222222 if (Py_ISUPPER (ch )) {
223223 if (previous_is_cased )
0 commit comments