mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
PyTypeChecker.analyzeCallSite() was used for analyzing the return type of the call in the same way for different expressions: a[b] and a[b](c) as analyzeCallSite(a[b]) making it impossible to distinguish between the two. Now we pass a PyCallExpression for analyzing the function call instead of a PyQualifiedExpression.
5 lines
63 B
Python
5 lines
63 B
Python
ops = {'and': all, 'or': any}
|
|
op = ops['or']
|
|
ops['and']()
|
|
op()
|