From 16274e10086e89c608a0ebbedfc946f432bfe7ca Mon Sep 17 00:00:00 2001
From: Vincent Pelletier <vincent@nexedi.com>
Date: Mon, 31 Dec 2012 16:51:26 +0100
Subject: [PATCH] Drop duplicate/obvious docstrings.

---
 product/ERP5Type/Tool/MemcachedTool.py | 24 ------------------------
 1 file changed, 24 deletions(-)

diff --git a/product/ERP5Type/Tool/MemcachedTool.py b/product/ERP5Type/Tool/MemcachedTool.py
index 855b332a69..78d573fac4 100644
--- a/product/ERP5Type/Tool/MemcachedTool.py
+++ b/product/ERP5Type/Tool/MemcachedTool.py
@@ -201,15 +201,9 @@ if memcache is not None:
       self.local_cache[key] = None
 
     def set(self, key, value):
-      """
-        Set an item to local cache and schedule update of memcached.
-      """
       return self.__setitem__(key, value)
 
     def get(self, key, default=None):
-      """
-        Get an item from local cache, otherwise from memcached.
-      """
       try:
         return self.__getitem__(key)
       except KeyError:
@@ -233,29 +227,17 @@ if memcache is not None:
       self.prefix = prefix
 
     def _prefixKey(self, key):
-      """
-        Prefix key with self.prefix .
-      """
       if not isinstance(key, basestring):
         raise TypeError, 'Key %s is not a string. Only strings are supported as key in SharedDict' % (repr(key), )
       return '%s_%s' % (self.prefix, key)
 
     def __getitem__(self, key):
-      """
-        Get item from memcached.
-      """
       return self._dictionary.__getitem__(self._prefixKey(key))
 
     def __setitem__(self, key, value):
-      """
-        Put item in memcached.
-      """
       self._dictionary.__setitem__(self._prefixKey(key), value)
 
     def __delitem__(self, key):
-      """
-        Delete item from memcached.
-      """
       self._dictionary.__delitem__(self._prefixKey(key))
 
     # These are the method names called by zope
@@ -264,15 +246,9 @@ if memcache is not None:
     __guarded_delitem__ = __delitem__
 
     def get(self, key, default=None):
-      """
-        Get item from memcached.
-      """
       return self._dictionary.get(self._prefixKey(key), default)
 
     def set(self, key, value):
-      """
-        Put item in memcached.
-      """
       self._dictionary.set(self._prefixKey(key), value)
 
   allow_class(SharedDict)
-- 
2.30.9