Closed zayKenyon closed 9 months ago
compile
from re
because someone who sees the code for the first time has no idea where does it come from. If only compile is used then it can be replaced from import re
to import re.compile
.Here are some exaples:
from re import compile
from locale import getpreferredencoding
from os import mkdir, getcwd
I plan on picking this back up come July/August.
https://peps.python.org/pep-0008/