How do you refactor someone else's code?

 
How do you refactor someone else's code? - Refactoring, Python

v20240901