Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Code before refactoring:
# example 1
s = "c"; n = 10
print(n, s)
# example 2
s = n = 10
print(n, s)
-
Describe the refactoring you want to do: Inline variable s
-
Expected code after refactoring:
# example 1
n = 10
print(n, "c")
# example 2
n = 10
print(n, 10)
- Describe the error or unexpected result that you are getting
# example 1
print(n, "c"; n = 10)
# example 2
print(n, n = 10)
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Describe the refactoring you want to do: Inline variable
sExpected code after refactoring: