Skip to content

Commit e2e0533

Browse files
committed
Export _PyDict_CopyAsDict() function
1 parent 5d0d438 commit e2e0533

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Include/internal/pycore_dict.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,8 @@ extern void _PyDict_Clear_LockHeld(PyObject *op);
160160
PyAPI_FUNC(void) _PyDict_EnsureSharedOnRead(PyDictObject *mp);
161161
#endif
162162

163-
extern PyObject* _PyDict_CopyAsDict(PyObject *op);
163+
// Export for '_elementtree' shared extension
164+
PyAPI_FUNC(PyObject*) _PyDict_CopyAsDict(PyObject *op);
164165

165166
#define DKIX_EMPTY (-1)
166167
#define DKIX_DUMMY (-2) /* Used internally */

0 commit comments

Comments
 (0)