chiark / gitweb /
editor: commit to Python 3.
authorSimon Tatham <anakin@pobox.com>
Sun, 13 Oct 2024 09:16:31 +0000 (10:16 +0100)
committerBen Harris <bjh21@bjh21.me.uk>
Sun, 13 Oct 2024 14:04:53 +0000 (15:04 +0100)
commitcfab21f7a7e9dec99ebfbdfe42bd1376c250cc69
tree2dc4b13fc4d3f4736a4c74bbd5657304b74fe65f
parent61ed1e1f76286554c00f9c01f3cd975167dedae9
editor: commit to Python 3.

At the time I wrote this editor, it was sensible to try to be Python
2/3 agnostic. P2 is now thoroughly obsolete, so I've removed the P2
affordances. That lets me fix the shebang line to say 'python3', and
chmod the file +x, so that you can run it by its name.

Also, it can be renamed to just 'editor', because now that it's
executable, the fact that it's in Python is nothing but an internal
implementation detail.
editor [moved from editor.py with 96% similarity, mode: 0755]