@@ -181,7 +181,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
181181# define PyUnicode_GetDefaultEncoding PyUnicodeUCS2_GetDefaultEncoding
182182# define PyUnicode_GetMax PyUnicodeUCS2_GetMax
183183# define PyUnicode_GetSize PyUnicodeUCS2_GetSize
184- # define PyUnicode_GetWidth PyUnicodeUCS2_GetWidth
185184# define PyUnicode_Join PyUnicodeUCS2_Join
186185# define PyUnicode_Replace PyUnicodeUCS2_Replace
187186# define PyUnicode_Resize PyUnicodeUCS2_Resize
@@ -201,7 +200,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
201200# define _PyUnicode_IsLinebreak _PyUnicodeUCS2_IsLinebreak
202201# define _PyUnicode_IsLowercase _PyUnicodeUCS2_IsLowercase
203202# define _PyUnicode_IsNumeric _PyUnicodeUCS2_IsNumeric
204- # define _PyUnicode_IsWide _PyUnicodeUCS2_IsWide
205203# define _PyUnicode_IsTitlecase _PyUnicodeUCS2_IsTitlecase
206204# define _PyUnicode_IsUppercase _PyUnicodeUCS2_IsUppercase
207205# define _PyUnicode_IsWhitespace _PyUnicodeUCS2_IsWhitespace
@@ -256,7 +254,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
256254# define PyUnicode_GetDefaultEncoding PyUnicodeUCS4_GetDefaultEncoding
257255# define PyUnicode_GetMax PyUnicodeUCS4_GetMax
258256# define PyUnicode_GetSize PyUnicodeUCS4_GetSize
259- # define PyUnicode_GetWidth PyUnicodeUCS4_GetWidth
260257# define PyUnicode_Join PyUnicodeUCS4_Join
261258# define PyUnicode_Replace PyUnicodeUCS4_Replace
262259# define PyUnicode_Resize PyUnicodeUCS4_Resize
@@ -275,7 +272,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
275272# define _PyUnicode_IsLinebreak _PyUnicodeUCS4_IsLinebreak
276273# define _PyUnicode_IsLowercase _PyUnicodeUCS4_IsLowercase
277274# define _PyUnicode_IsNumeric _PyUnicodeUCS4_IsNumeric
278- # define _PyUnicode_IsWide _PyUnicodeUCS4_IsWide
279275# define _PyUnicode_IsTitlecase _PyUnicodeUCS4_IsTitlecase
280276# define _PyUnicode_IsUppercase _PyUnicodeUCS4_IsUppercase
281277# define _PyUnicode_IsWhitespace _PyUnicodeUCS4_IsWhitespace
@@ -321,8 +317,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
321317
322318#define Py_UNICODE_ISALPHA (ch ) iswalpha(ch)
323319
324- #define Py_UNICODE_ISWIDE (ch ) _PyUnicode_IsWide(ch)
325-
326320#else
327321
328322#define Py_UNICODE_ISSPACE (ch ) _PyUnicode_IsWhitespace(ch)
@@ -346,8 +340,6 @@ typedef PY_UNICODE_TYPE Py_UNICODE;
346340
347341#define Py_UNICODE_ISALPHA (ch ) _PyUnicode_IsAlpha(ch)
348342
349- #define Py_UNICODE_ISWIDE (ch ) _PyUnicode_IsWide(ch)
350-
351343#endif
352344
353345#define Py_UNICODE_ISALNUM (ch ) \
@@ -440,12 +432,6 @@ PyAPI_FUNC(int) PyUnicode_GetSize(
440432 PyObject * unicode /* Unicode object */
441433 );
442434
443- /* Get the fixed-width representation length of the Unicode object */
444-
445- PyAPI_FUNC (int ) PyUnicode_GetWidth (
446- PyObject * unicode /* Unicode object */
447- );
448-
449435/* Get the maximum ordinal for a Unicode character. */
450436PyAPI_FUNC (Py_UNICODE ) PyUnicode_GetMax (void );
451437
@@ -1176,10 +1162,6 @@ PyAPI_FUNC(int) _PyUnicode_IsAlpha(
11761162 Py_UNICODE ch /* Unicode character */
11771163 );
11781164
1179- PyAPI_FUNC (int ) _PyUnicode_IsWide (
1180- Py_UNICODE ch /* Unicode character */
1181- );
1182-
11831165#ifdef __cplusplus
11841166}
11851167#endif
0 commit comments