commit | 9aae3a8cf557256e1f7a46f0ba19581949b5a805 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Tue Aug 09 16:15:29 2011 -0500 |
committer | Benjamin Peterson <benjamin@python.org> | Tue Aug 09 16:15:29 2011 -0500 |
tree | c3badac5a2b4840ea8ed62d12dbb01740c273336 | |
parent | 832bfe2ebd5ecfa92031cd40c8b41835ba90487f [diff] | |
parent | 77c4fd01dd3fa9b7830ca3dcd1506565352d32f3 [diff] |
merge 3.2 (#12719)
diff --git a/Doc/c-api/typeobj.rst b/Doc/c-api/typeobj.rst index 4a6335c..68ca9ad 100644 --- a/Doc/c-api/typeobj.rst +++ b/Doc/c-api/typeobj.rst
@@ -745,6 +745,11 @@ This field is not inherited by subtypes (though the attributes defined in here are inherited through a different mechanism). + .. warning:: + + It is not safe to use :c:func:`PyDict_SetItem` on or otherwise modify + :attr:`tp_dict` with the dictionary C-API. + .. c:member:: descrgetfunc PyTypeObject.tp_descr_get