diff options
author | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2008-06-04 11:41:32 (GMT) |
commit | f954c4b9fb8529cc13a2e24c58137c66ac836b28 (patch) | |
tree | 91575068c14eec261bc4e2c44da9c881eda4efe1 /Include | |
parent | e5d68aceb529934e75d505bbfaf867e02493a1bc (diff) | |
download | cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.zip cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.gz cpython-f954c4b9fb8529cc13a2e24c58137c66ac836b28.tar.bz2 |
Remove meaning of -ttt, but still accept -t option on cmdline for compatibility.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pydebug.h | 1 | ||||
-rw-r--r-- | Include/unicodeobject.h | 8 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Include/pydebug.h b/Include/pydebug.h index 9d18ab4..cd56196 100644 --- a/Include/pydebug.h +++ b/Include/pydebug.h @@ -14,7 +14,6 @@ PyAPI_DATA(int) Py_NoSiteFlag; PyAPI_DATA(int) Py_BytesWarningFlag; PyAPI_DATA(int) Py_UseClassExceptionsFlag; PyAPI_DATA(int) Py_FrozenFlag; -PyAPI_DATA(int) Py_TabcheckFlag; PyAPI_DATA(int) Py_IgnoreEnvironmentFlag; PyAPI_DATA(int) Py_DivisionWarningFlag; PyAPI_DATA(int) Py_DontWriteBytecodeFlag; diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index 384cd55..f60334d 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -217,6 +217,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE; # define _PyUnicode_IsLinebreak _PyUnicodeUCS2_IsLinebreak # define _PyUnicode_IsLowercase _PyUnicodeUCS2_IsLowercase # define _PyUnicode_IsNumeric _PyUnicodeUCS2_IsNumeric +# define _PyUnicode_IsPrintable _PyUnicodeUCS2_IsPrintable # define _PyUnicode_IsTitlecase _PyUnicodeUCS2_IsTitlecase # define _PyUnicode_IsXidStart _PyUnicodeUCS2_IsXidStart # define _PyUnicode_IsXidContinue _PyUnicodeUCS2_IsXidContinue @@ -311,6 +312,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE; # define _PyUnicode_IsLinebreak _PyUnicodeUCS4_IsLinebreak # define _PyUnicode_IsLowercase _PyUnicodeUCS4_IsLowercase # define _PyUnicode_IsNumeric _PyUnicodeUCS4_IsNumeric +# define _PyUnicode_IsPrintable _PyUnicodeUCS4_IsPrintable # define _PyUnicode_IsTitlecase _PyUnicodeUCS4_IsTitlecase # define _PyUnicode_IsXidStart _PyUnicodeUCS4_IsXidStart # define _PyUnicode_IsXidContinue _PyUnicodeUCS4_IsXidContinue @@ -351,6 +353,7 @@ typedef PY_UNICODE_TYPE Py_UNICODE; #define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch) #define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch) #define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch) +#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch) #define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch) #define Py_UNICODE_TODIGIT(ch) _PyUnicode_ToDigit(ch) @@ -381,6 +384,7 @@ extern const unsigned char _Py_ascii_whitespace[]; #define Py_UNICODE_ISDECIMAL(ch) _PyUnicode_IsDecimalDigit(ch) #define Py_UNICODE_ISDIGIT(ch) _PyUnicode_IsDigit(ch) #define Py_UNICODE_ISNUMERIC(ch) _PyUnicode_IsNumeric(ch) +#define Py_UNICODE_ISPRINTABLE(ch) _PyUnicode_IsPrintable(ch) #define Py_UNICODE_TODECIMAL(ch) _PyUnicode_ToDecimalDigit(ch) #define Py_UNICODE_TODIGIT(ch) _PyUnicode_ToDigit(ch) @@ -1499,6 +1503,10 @@ PyAPI_FUNC(int) _PyUnicode_IsNumeric( Py_UNICODE ch /* Unicode character */ ); +PyAPI_FUNC(int) _PyUnicode_IsPrintable( + Py_UNICODE ch /* Unicode character */ + ); + PyAPI_FUNC(int) _PyUnicode_IsAlpha( Py_UNICODE ch /* Unicode character */ ); |