IDEA-CR-49176: fixes after review of function inline for python

- codestyle improvements
- reuse TypeEvalContext and PyResolveContext
- check PyDunderAllReference specifically to avoid unwanted side effects
- skip resolving PyTargetExpression
- replace references with import alias in the refactoring, instead of the utility method
- added single reference search for PyStringLiteralExpressionImpl
- cleanup obsolete tests

GitOrigin-RevId: 3e33c880a8fe116a5b98583059c83b7dd67e34a2
This commit is contained in:
Aleksei Kniazev
2019-07-03 11:59:15 +03:00
committed by intellij-monorepo-bot
parent e867306f59
commit 2d720aea16
19 changed files with 83 additions and 98 deletions

View File

@@ -0,0 +1,3 @@
from sys import exit
ex<caret>it()