]> granicus.if.org Git - python/commitdiff
Nit: a struct field is set to GenericAlloc, not GenericAlloc().
authorGeorg Brandl <georg@python.org>
Tue, 6 Mar 2007 09:33:01 +0000 (09:33 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 6 Mar 2007 09:33:01 +0000 (09:33 +0000)
Doc/api/newtypes.tex

index e5c5aaced2fb02ff161fa5b3cfd2700f47faa599..847cd87aaee28f82d1e1595e1f5efc21cc9576ff 100644 (file)
@@ -1316,7 +1316,7 @@ PyObject *tp_alloc(PyTypeObject *self, Py_ssize_t nitems)
 
   This field is inherited by static subtypes, but not by dynamic
   subtypes (subtypes created by a class statement); in the latter,
-  this field is always set to \cfunction{PyType_GenericAlloc()}, to
+  this field is always set to \cfunction{PyType_GenericAlloc}, to
   force a standard heap allocation strategy.  That is also the
   recommended value for statically defined types.
 \end{cmemberdesc}