There was an error while loading. Please reload this page.
1 parent 6a30fd4 commit 7c09a6eCopy full SHA for 7c09a6e
1 file changed
Include/internal/pycore_descrobject.h
@@ -24,21 +24,6 @@ extern PyTypeObject _PyMethodWrapper_Type;
24
25
extern void *_PyMember_GetOffset(PyObject *, PyMemberDef *);
26
27
-/* Return a borrowed reference to the mapping wrapped by a mappingproxy.
28
- * The struct layout matches mappingproxyobject in Objects/descrobject.c.
29
- */
30
-static inline PyObject *
31
-_PyDictProxy_GetMapping(PyObject *op)
32
-{
33
- typedef struct {
34
- PyObject_HEAD
35
- PyObject *mapping;
36
- } _PyMappingProxyObject;
37
- assert(op != NULL);
38
- assert(PyObject_TypeCheck(op, &PyDictProxy_Type));
39
- return ((_PyMappingProxyObject *)op)->mapping;
40
-}
41
-
42
#ifdef __cplusplus
43
}
44
#endif
0 commit comments