Rename "python3" to "python"

This commit is contained in:
2025-06-14 16:27:12 -04:00
parent be723115f1
commit c483b33ec8
+3 -3
View File
@@ -1,10 +1,10 @@
//go:build stxPython3 || stxAll
//go:build stxPython || stxAll
package syntax
func init() {
syntaxMap["python3"] = &lazySyntax{init: func() []byte {
return []byte(`filename: python3
syntaxMap["python"] = &lazySyntax{init: func() []byte {
return []byte(`filename: python
rules:
- constant: "\\b(None|self|True|False)\\b"
- constant: "\\b(__bases__|__builtin__|__class__|__debug__|__dict__|__doc__|__file__|__members__|__methods__|__name__|__self__)\\b"