Replace a lot more of empty sets and unite calls.

This commit is contained in:
Dave Halter
2017-09-25 23:08:59 +02:00
parent 921d1008f2
commit 174eff5875
14 changed files with 72 additions and 66 deletions

View File

@@ -433,7 +433,7 @@ class Evaluator(object):
node = ()
if trailer_op == '[':
return ContextSet(iterable.py__getitem__(self, context, types, trailer))
return iterable.py__getitem__(self, context, types, trailer)
else:
context_set = ContextSet()
for typ in types: