rust/hg-cpython/src/revlog.rs
changeset 51191 f0fa98752d67
parent 51190 e79b0a4be3a7
child 51192 f6403bcd9f96
--- a/rust/hg-cpython/src/revlog.rs	Wed Jun 28 11:36:22 2023 +0200
+++ b/rust/hg-cpython/src/revlog.rs	Wed Jun 28 11:59:43 2023 +0200
@@ -277,10 +277,6 @@
         self.cindex(py).borrow().inner().get_item(py, key)
     }
 
-    def __setitem__(&self, key: PyObject, value: PyObject) -> PyResult<()> {
-        self.cindex(py).borrow().inner().set_item(py, key, value)
-    }
-
     def __contains__(&self, item: PyObject) -> PyResult<bool> {
         // ObjectProtocol does not seem to provide contains(), so
         // this is an equivalent implementation of the index_contains()