From 24cfa62c8a3f35928b0bcf1d9752ede017122769 Mon Sep 17 00:00:00 2001 From: Dave Halter Date: Mon, 15 Dec 2014 15:10:44 +0100 Subject: [PATCH] documentation --- jedi/evaluate/cache.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/jedi/evaluate/cache.py b/jedi/evaluate/cache.py index 1d1d06f3..4ee72967 100644 --- a/jedi/evaluate/cache.py +++ b/jedi/evaluate/cache.py @@ -46,8 +46,8 @@ def memoize_default(default=None, evaluator_is_first_arg=False, second_arg_is_ev class CachedMetaClass(type): """ This is basically almost the same than the decorator above, it just caches - class initializations. I haven't found any other way, so I'm doing it with - meta classes. + class initializations. Either you do it this way or with decorators, but + with decorators you lose class access (isinstance, etc). """ @memoize_default(None, second_arg_is_evaluator=True) def __call__(self, *args, **kwargs):