Skip to content

Commit a423553

Browse files
committed
Don't redefine _Py_DEPRECATED_EXTERNALLY()
1 parent a2df55c commit a423553

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

Include/cpython/unicodeobject.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -521,12 +521,6 @@ typedef struct {
521521
unsigned char readonly;
522522
} _PyUnicodeWriter;
523523

524-
#ifndef Py_BUILD_CORE
525-
# define _Py_DEPRECATED_EXTERNALLY(version) Py_DEPRECATED(version)
526-
#else
527-
# define _Py_DEPRECATED_EXTERNALLY(version)
528-
#endif
529-
530524
// Initialize a Unicode writer.
531525
//
532526
// By default, the minimum buffer size is 0 character and overallocation is
@@ -614,8 +608,6 @@ _Py_DEPRECATED_EXTERNALLY(3.14) PyAPI_FUNC(PyObject *) _PyUnicodeWriter_Finish(
614608
_Py_DEPRECATED_EXTERNALLY(3.14) PyAPI_FUNC(void) _PyUnicodeWriter_Dealloc(
615609
_PyUnicodeWriter *writer);
616610

617-
#undef _Py_DEPRECATED_EXTERNALLY
618-
619611

620612
/* --- Manage the default encoding ---------------------------------------- */
621613

0 commit comments

Comments
 (0)