Patch #568124: Add doc string macros.
diff --git a/Objects/descrobject.c b/Objects/descrobject.c
index cbf56a9..1130f86 100644
--- a/Objects/descrobject.c
+++ b/Objects/descrobject.c
@@ -1062,7 +1062,7 @@
return 0;
}
-static char property_doc[] =
+PyDoc_STRVAR(property_doc,
"property(fget=None, fset=None, fdel=None, doc=None) -> property attribute\n"
"\n"
"fget is a function to be used for getting an attribute value, and likewise\n"
@@ -1072,7 +1072,7 @@
" def getx(self): return self.__x\n"
" def setx(self, value): self.__x = value\n"
" def delx(self): del self.__x\n"
-" x = property(getx, setx, delx, \"I'm the 'x' property.\")";
+" x = property(getx, setx, delx, \"I'm the 'x' property.\")");
static int
property_traverse(PyObject *self, visitproc visit, void *arg)