mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-17 15:41:25 +08:00
A lot more fixes for tests.
This commit is contained in:
1 parent
174eff5875
commit
592f2dac95
7 files changed
+23
-19
No files matched your search
@@ -42,7 +42,7 @@ class ContextSet(object):
|
||||
return '%s(%s)' % (self.__class__.__name__, ', '.join(str(s) for s in self._set))
|
||||
|
||||
def filter(self, filter_func):
|
||||
return ContextSet(filter(filter_func, self._set))
|
||||
return ContextSet.from_iterable(filter(filter_func, self._set))
|
||||
|
||||
def __getattr__(self, name):
|
||||
def mapper(*args, **kwargs):
|
||||
|
||||
Reference in new issue
Block a user