Skip to content

Commit 8037758

Browse files
committed
Remove confusing comment.
1 parent 98bc1d4 commit 8037758

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

Objects/typeobject.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -809,8 +809,7 @@ _PyType_GetSubclasses(PyTypeObject *self)
809809

810810
// The type lock protects tp_subclasses from being mutated while we
811811
// iterate over it (e.g. by add_subclass() or by remove_subclass() when a
812-
// subclass is deallocated). Note that the lock is not actually acquired
813-
// if it is already held by this thread or if the world is stopped.
812+
// subclass is deallocated).
814813
int res;
815814
BEGIN_TYPE_LOCK();
816815
res = get_subclasses_unlocked(self, list);

0 commit comments

Comments
 (0)