Remove unused code

This commit is contained in:
Dave Halter committed 2018-12-10 21:34:47 +01:00
1 parent 3940fd8eff
commit c87398a8c2
1 file changed
-4
-4
View File
@@ -506,10 +506,6 @@ class SelfAttributeFilter(ClassFilter):
def _filter(self, names): def _filter(self, names):
names = self._filter_self_names(names) names = self._filter_self_names(names)
if isinstance(self._parser_scope, compiled.CompiledObject) and False:
# This would be for builtin skeletons, which are not yet supported.
return list(names)
else:
start, end = self._parser_scope.start_pos, self._parser_scope.end_pos start, end = self._parser_scope.start_pos, self._parser_scope.end_pos
return [n for n in names if start < n.start_pos < end] return [n for n in names if start < n.start_pos < end]