diff options
| author | Carl Meyer <carl@oddbird.net> | 2022-10-07 17:37:46 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-10-07 17:37:46 -0700 |
| commit | e82d977eb0b53b0d69509b7080107108e5cfc6f9 (patch) | |
| tree | abe6c2f077f76574d7f1c7c61f34ed49ac3cadbb /Include/cpython | |
| parent | 8ba9378b168ad330c158a001afca03d6c028d39b (diff) | |
| download | cpython-git-e82d977eb0b53b0d69509b7080107108e5cfc6f9.tar.gz | |
gh-91052: Add PyDict_Unwatch for unwatching a dictionary (#98055)
Diffstat (limited to 'Include/cpython')
| -rw-r--r-- | Include/cpython/dictobject.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/cpython/dictobject.h b/Include/cpython/dictobject.h index f8a74a597b..2dff59ef0b 100644 --- a/Include/cpython/dictobject.h +++ b/Include/cpython/dictobject.h @@ -106,3 +106,4 @@ PyAPI_FUNC(int) PyDict_ClearWatcher(int watcher_id); // Mark given dictionary as "watched" (callback will be called if it is modified) PyAPI_FUNC(int) PyDict_Watch(int watcher_id, PyObject* dict); +PyAPI_FUNC(int) PyDict_Unwatch(int watcher_id, PyObject* dict); |
