diff options
Diffstat (limited to 'pymemcache/pool.py')
-rw-r--r-- | pymemcache/pool.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pymemcache/pool.py b/pymemcache/pool.py index 10277b6..5c100f8 100644 --- a/pymemcache/pool.py +++ b/pymemcache/pool.py @@ -38,7 +38,7 @@ class ObjectPool: else: self._lock = lock_generator() self._after_remove = after_remove - max_size = max_size or 2 ** 31 + max_size = max_size or 2**31 if not isinstance(max_size, int) or max_size < 0: raise ValueError('"max_size" must be a positive integer') self.max_size = max_size |