diff options
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 7576bae9f95..173a9bc3692 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -295,10 +295,12 @@ | |||
| 295 | 295 | ||
| 296 | ;;;###autoload | 296 | ;;;###autoload |
| 297 | (defconst python--auto-mode-alist-regexp | 297 | (defconst python--auto-mode-alist-regexp |
| 298 | (rx "." (or "py" | 298 | (rx (or |
| 299 | "pth" ; Python Path Configuration File | 299 | (seq "." (or "py" |
| 300 | "pyi" ; Python Stub File (PEP 484) | 300 | "pth" ; Python Path Configuration File |
| 301 | "pyw") ; MS-Windows specific extension | 301 | "pyi" ; Python Stub File (PEP 484) |
| 302 | "pyw")) ; MS-Windows specific extension | ||
| 303 | (seq "/" (or "SConstruct" "SConscript"))) ; SCons Build Files | ||
| 302 | eos)) | 304 | eos)) |
| 303 | 305 | ||
| 304 | ;;;###autoload | 306 | ;;;###autoload |