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 d5258e0 commit 852be38Copy full SHA for 852be38
Include/internal/pycore_dict.h
@@ -95,6 +95,8 @@ extern uint32_t _PyDictKeys_GetVersionForCurrentState(
95
* In free-threaded builds ensures that the dict can be used for lock-free
96
* reads if a version was assigned.
97
*
98
+ * The caller must hold the per-object lock on dict.
99
+ *
100
* Returns the version number, or zero if it was not possible to get a version number. */
101
extern uint32_t _PyDict_GetKeysVersionForCurrentState(
102
PyInterpreterState *interp, PyDictObject *dict);
0 commit comments