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

Add option to print brackets explicitly instead of relying on operator precedence #628

Open
formrre opened this issue Dec 13, 2018 · 0 comments

Comments

@formrre
Copy link

formrre commented Dec 13, 2018

I have found myself in a situation where thinking about operator precedence, while getting familiar with a new theory confuses me. It would be nice to have a set_trace option or something similar to print out all the brackets explicitly. For example it would print x*2+6 as (x*2)+6.

@formrre formrre changed the title Option to print brackets explicitly instead of relying on operator precedence Add option to print brackets explicitly instead of relying on operator precedence Dec 13, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants