mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Nit: a struct field is set to GenericAlloc, not GenericAlloc().
This commit is contained in:
parent
0fca97a5fb
commit
39fc1da6dc
1 changed files with 1 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue