Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect original statement order #26

Open
zhongjiajie opened this issue Oct 18, 2023 · 0 comments
Open

Respect original statement order #26

zhongjiajie opened this issue Oct 18, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@zhongjiajie
Copy link
Owner

zhongjiajie commented Oct 18, 2023

see more details in https://github.com/zhongjiajie/stmdency#usage, the output statement order is different from the original, we should keep the same,

diff between original to result

a = 1
- b = 2

def bar():
   b = a + 3
   print(a, b)

+ b = 2
+ 
def foo():
   bar(b)
@zhongjiajie zhongjiajie added the enhancement New feature or request label Oct 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant