Skip to content

Commit 076eb2b

Browse files
Improve comment
Co-authored-by: Victor Stinner <vstinner@python.org>
1 parent d43f8a5 commit 076eb2b

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Modules/_decimal/_decimal.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1502,8 +1502,7 @@ context_clear(PyObject *op)
15021502
/* Since traps and flags hold a borrowed reference to the
15031503
flags stored in the context object, these references need
15041504
to be cleared when the context object is deallocated
1505-
because other objects could hold references to the
1506-
traps and/or flags objects. See gh-146011. */
1505+
because traps and flags can survive. See gh-146011. */
15071506
PyDecSignalDictObject *traps = _PyDecSignalDictObject_CAST(self->traps);
15081507
PyDecSignalDictObject *flags = _PyDecSignalDictObject_CAST(self->flags);
15091508

0 commit comments

Comments
 (0)