| ast.walk chaotic order

It certainly has its drawbacks. However, it can help to shift programmers 
mind more towards sets and pure functions and away from procedural way of 
thinking.

As you can see in given example I had to operate on ClassDefs and 
FunctionDefs in more strict ordering, so operations on them are done in 
separate walks. It is possible to use ast.walk on narrower scopes 
(ClassDef, or FunctionDef).

Vitalije

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to