Return value from main rather than print
We only really want to print if we are running the module as a script. It's nice to allow `main` to be imported and used from other code, and that code probably wants a returned value rather than having to read from stdout.main
parent
37483148c8
commit
85f864cd17
Loading…
Reference in New Issue