clean up Editor.edit code
Before adoption: this commit came in with the history the project adopted, so no landing records it.
use context manager for opening file move encoding out of try block use isinstance instead of type
authored by David Lord · committed by David Lord · parent 11c286a · Browse files · 1 file+20 added−21 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
1 file+20 added−21 removed
- other:+20 added−21 removed