Skip to content

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

Open
@formrre

Description

@formrre

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions