Commits
Click on a commit to change the comparison rangerefactor(transformer): exponentiation transform: split into 2 paths (#6316)
Exponentiation transform has 2 paths for when left-hand side of `**=` is an identifier, and when it's a member expression. But these two paths are mixed up together in the `convert_assignment_expression`, `explode`, and `get_obj_ref` functions, with each branching on the same condition (is it an identifier or a member expression?).
Refactor to separate out these 2 code paths, and make the logic easier to follow.1 year ago
by overlookmotel