script to report deprecated functions of text and their age in days.

This commit is contained in:
2011-07-18 09:49:26 +00:00
parent 9fa20e6d88
commit 35ce13562d
4 changed files with 152 additions and 4 deletions

View File

@@ -114,7 +114,7 @@ static PyObject *Buffer_to_list_recursive(Buffer *self)
return list;
}
/* deprecate */
/* *DEPRECATED* 2011/7/17 bgl.Buffer.list */
static PyObject *Buffer_list(Buffer *self, void *UNUSED(arg))
{
fprintf(stderr, "Warning: 'Buffer.list' deprecated, use '[:]' instead\n");

View File

@@ -4548,7 +4548,7 @@ PyTypeObject pyrna_struct_meta_idprop_Type= {
NULL, /* printfunc tp_print; */
NULL, /* getattrfunc tp_getattr; */
NULL, /* setattrfunc tp_setattr; */
NULL, /* tp_compare */ /* DEPRECATED in python 3.0! */
NULL, /* tp_compare */ /* deprecated in python 3.0! */
NULL, /* tp_repr */
/* Method suites for standard classes */