diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-11 08:03:14 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-11 08:03:14 (GMT) |
commit | 9fab79bcb5b83dc0247ce4cd60486341c73e7fd5 (patch) | |
tree | b24f07e6f0ccb42ae02628248d1b521d6700386f /Include/unicodeobject.h | |
parent | c16595e567d51a1773be30c34622620b52be7acf (diff) | |
download | cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.zip cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.gz cpython-9fab79bcb5b83dc0247ce4cd60486341c73e7fd5.tar.bz2 |
Issue #26900: Excluded underscored names and other private API from limited API.
Diffstat (limited to 'Include/unicodeobject.h')
-rw-r--r-- | Include/unicodeobject.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/unicodeobject.h b/Include/unicodeobject.h index bcd1aad..38f733b 100644 --- a/Include/unicodeobject.h +++ b/Include/unicodeobject.h @@ -2257,6 +2257,7 @@ PyAPI_FUNC(int) _PyUnicode_CheckConsistency( int check_content); #endif +#ifndef Py_LIMITED_API /* Return an interned Unicode object for an Identifier; may fail if there is no memory.*/ PyAPI_FUNC(PyObject*) _PyUnicode_FromId(_Py_Identifier*); /* Clear all static strings. */ @@ -2265,6 +2266,7 @@ PyAPI_FUNC(void) _PyUnicode_ClearStaticStrings(void); /* Fast equality check when the inputs are known to be exact unicode types and where the hash values are equal (i.e. a very probable match) */ PyAPI_FUNC(int) _PyUnicode_EQ(PyObject *, PyObject *); +#endif /* !Py_LIMITED_API */ #ifdef __cplusplus } |