mirror of https://github.com/python/cpython
bpo-42519: Remove outdated sentence in comment (#112822)
Update objimpl.h
This commit is contained in:
parent
9c3458e058
commit
7576534f4a
|
@ -35,7 +35,7 @@ Functions and macros for modules that implement new object types.
|
|||
fields, this also fills in the ob_size field.
|
||||
|
||||
- PyObject_Free(op) releases the memory allocated for an object. It does not
|
||||
run a destructor -- it only frees the memory. PyObject_Free is identical.
|
||||
run a destructor -- it only frees the memory.
|
||||
|
||||
- PyObject_Init(op, typeobj) and PyObject_InitVar(op, typeobj, n) don't
|
||||
allocate memory. Instead of a 'type' parameter, they take a pointer to a
|
||||
|
|
Loading…
Reference in New Issue