From 6b54dc9e64a98d5db73c545639f34de4a8a311c5 Mon Sep 17 00:00:00 2001
From: hofmockel <dreagonfly@gmx.de>
Date: Sun, 30 Aug 2015 12:20:45 +0200
Subject: [PATCH] No need for the 'get_ob' methods on PyCache.

---
 rocksdb/_rocksdb.pyx | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/rocksdb/_rocksdb.pyx b/rocksdb/_rocksdb.pyx
index 2cb8b3a..c72e826 100644
--- a/rocksdb/_rocksdb.pyx
+++ b/rocksdb/_rocksdb.pyx
@@ -432,9 +432,6 @@ cdef cpp_bool partial_merge_callback(
 #### Here comes the Cache stuff
 @cython.internal
 cdef class PyCache(object):
-    cdef object get_ob(self):
-        return None
-
     cdef shared_ptr[cache.Cache] get_cache(self):
         return shared_ptr[cache.Cache]()
 
@@ -448,9 +445,6 @@ cdef class PyLRUCache(PyCache):
         else:
             self.cache_ob = cache.NewLRUCache(capacity)
 
-    cdef object get_ob(self):
-        return self
-
     cdef shared_ptr[cache.Cache] get_cache(self):
         return self.cache_ob
 
-- 
GitLab