refactoring - Python ast code transform keep comments -


i doing code transforms on old python code using ast module. when write newly converted code not include comments. know ast ignores comments because not important in regards code. keep comments in code after transform. how this?


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -