summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorChristopher Chavez <chrischavez@gmx.us>2023-12-07 13:24:11 (GMT)
committerGitHub <noreply@github.com>2023-12-07 13:24:11 (GMT)
commit7576534f4a230cc8f9b0f13ef2e521eeaa9e9ead (patch)
tree6a1a017ea357e019cdb7402680980862a2b6061b /Include
parent9c3458e05865093dd55d7608810a9d0ef0765978 (diff)
downloadcpython-7576534f4a230cc8f9b0f13ef2e521eeaa9e9ead.zip
cpython-7576534f4a230cc8f9b0f13ef2e521eeaa9e9ead.tar.gz
cpython-7576534f4a230cc8f9b0f13ef2e521eeaa9e9ead.tar.bz2
bpo-42519: Remove outdated sentence in comment (#112822)
Update objimpl.h
Diffstat (limited to 'Include')
-rw-r--r--Include/objimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index 967e277..ff5fa7a 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -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