mirror of
https://github.com/rocky/python-uncompyle6.git
synced 2025-04-16 23:20:07 +00:00
Updated Debugging Optimized Code (markdown)
parent
a235553635
commit
c13d2d99f4
@ -52,13 +52,15 @@ the deparser produces the equivalent form:
|
|||||||
|
|
||||||
You may decide that you like this formulation better. On the other had if you had:
|
You may decide that you like this formulation better. On the other had if you had:
|
||||||
|
|
||||||
|
```python
|
||||||
JUMP_ABSOLUTE = 100
|
JUMP_ABSOLUTE = 100
|
||||||
...
|
...
|
||||||
if op == JUMP_ABSOLUTE:
|
if op == JUMP_ABSOLUTE:
|
||||||
|
```
|
||||||
|
|
||||||
And this deparses to:
|
And this deparses to:
|
||||||
|
|
||||||
|
```python
|
||||||
if op == 100:
|
if op == 100:
|
||||||
|
```
|
||||||
I'd probably stick with the longer form. But my point is that in either case, a programmer would be able to figure out what was going on without being told. And if you didn't have any tool, that's a process you might go through
|
I'd probably stick with the longer form. But my point is that in either case, a programmer would be able to figure out what was going on without being told. And if you didn't have any tool, that's a process you might go through
|
||||||
|
Loading…
x
Reference in New Issue
Block a user