Skip to content

Commit c2ade98

Browse files
committed
bpo-40077: Add comment for abc_invalidation_counter.
1 parent ec8ccc6 commit c2ade98

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Modules/_abc.c

+3-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@ typedef struct {
2424
PyObject *_abc_data_type;
2525
} _abcmodule_state;
2626

27-
/* A global counter that is incremented each time a class is
27+
/*
28+
FIXME: PEP 573: Move abc_invalidation_counter into _abcmodule_state.
29+
A global counter that is incremented each time a class is
2830
registered as a virtual subclass of anything. It forces the
2931
negative cache to be cleared before its next use.
3032
Note: this counter is private. Use `abc.get_cache_token()` for

0 commit comments

Comments
 (0)