summaryrefslogtreecommitdiffstats
path: root/Doc/api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-03-06 09:33:01 (GMT)
committerGeorg Brandl <georg@python.org>2007-03-06 09:33:01 (GMT)
commit39fc1da6dcaa13a5a476b9c6cc44687465cf1d76 (patch)
tree8e7c2df4cb909a25affee3ef0f5fa2f9e3f230b4 /Doc/api
parent0fca97a5fbc49f077802339c0608eb347192df6d (diff)
downloadcpython-39fc1da6dcaa13a5a476b9c6cc44687465cf1d76.zip
cpython-39fc1da6dcaa13a5a476b9c6cc44687465cf1d76.tar.gz
cpython-39fc1da6dcaa13a5a476b9c6cc44687465cf1d76.tar.bz2
Nit: a struct field is set to GenericAlloc, not GenericAlloc().
Diffstat (limited to 'Doc/api')
-rw-r--r--Doc/api/newtypes.tex2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/api/newtypes.tex b/Doc/api/newtypes.tex
index e5c5aac..847cd87 100644
--- a/Doc/api/newtypes.tex
+++ b/Doc/api/newtypes.tex
@@ -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}