Skip to content

Commit c552462

Browse files
committed
No need to export _PyUnicode_IsModifiable()
1 parent ecffa9b commit c552462

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

‎Include/internal/pycore_unicodeobject.h‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ extern "C" {
1616
#define _Py_MAX_UNICODE 0x10ffff
1717

1818

19-
// Export for '_multibytecodec' shared extension. _PyUnicodeWriter_CanWrite()
20-
// calls this function when assertions are enabled.
21-
PyAPI_FUNC(int) _PyUnicode_IsModifiable(PyObject *unicode);
19+
extern int _PyUnicode_IsModifiable(PyObject *unicode);
2220
extern void _PyUnicodeWriter_InitWithBuffer(
2321
_PyUnicodeWriter *writer,
2422
PyObject *buffer);

0 commit comments

Comments
 (0)