;;; Generated autoloads from progmodes/python.el
(push (purecopy '(python 0 28)) package--builtin-versions)
-(defconst python--auto-mode-alist-regexp (rx (or (seq "." (or "py" "pth" "pyi" "pyw")) (seq "/" (or "SConstruct" "SConscript"))) eos))
-(add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-mode))
(add-to-list 'interpreter-mode-alist (cons (purecopy "python[0-9.]*") 'python-mode))
(autoload 'run-python "python" "\
Run an inferior Python process.
;;;###autoload
(defconst python--auto-mode-alist-regexp
- (rx (or
- (seq "." (or "py"
- "pth" ; Python Path Configuration File
- "pyi" ; Python Stub File (PEP 484)
- "pyw")) ; MS-Windows specific extension
- (seq "/" (or "SConstruct" "SConscript"))) ; SCons Build Files
- eos))
+ "\\(?:\\.\\(?:p\\(?:th\\|y[iw]?\\)\\)\\|/\\(?:SCons\\(?:\\(?:crip\\|truc\\)t\\)\\)\\)\\'"
+ ;; (rx (or
+ ;; (seq "." (or "py"
+ ;; "pth" ; Python Path Configuration File
+ ;; "pyi" ; Python Stub File (PEP 484)
+ ;; "pyw")) ; MS-Windows specific extension
+ ;; (seq "/" (or "SConstruct" "SConscript"))) ; SCons Build Files
+ ;; eos)
+ )
;;;###autoload
(add-to-list 'auto-mode-alist (cons python--auto-mode-alist-regexp 'python-mode))