We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3da41c commit 9711f62Copy full SHA for 9711f62
Include/internal/pycore_stackref.h
@@ -369,14 +369,14 @@ static inline void PyStackRef_CheckValid(_PyStackRef ref) {
369
370
#endif
371
372
-/* Does this ref have an embedded refcount */
+/* Does this ref not have an embedded refcount and refer to a mortal object? */
373
static inline int
374
PyStackRef_IsUncountedMortal(_PyStackRef ref)
375
{
376
return (ref.bits & Py_TAG_BITS) == 0;
377
}
378
379
-/* Does this ref have an embedded refcount and refer to a mortal object (NULL is not mortal) */
+/* Does this ref have an embedded refcount and refer to a mortal object (NULL is not mortal)? */
380
static inline bool
381
PyStackRef_IsCountedMortal(_PyStackRef ref)
382
0 commit comments