diff options
author | Barry Warsaw <barry@python.org> | 2001-06-19 18:24:42 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2001-06-19 18:24:42 (GMT) |
commit | e275c42c38f7a83275de027b200b39460b3ec7b7 (patch) | |
tree | 11fa1fbe46ea04c3b35f6d0cbe53e4e280b59f47 /Misc | |
parent | 4e42561adaf9748bec46da6007b242c031251fcf (diff) | |
download | cpython-e275c42c38f7a83275de027b200b39460b3ec7b7.zip cpython-e275c42c38f7a83275de027b200b39460b3ec7b7.tar.gz cpython-e275c42c38f7a83275de027b200b39460b3ec7b7.tar.bz2 |
(python-font-lock-keywords): Add "yield" as a keyword to support the
new "simple generators" feature of 2.2. See PEP 255.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/python-mode.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/python-mode.el b/Misc/python-mode.el index 30d733b..6ee2bab 100644 --- a/Misc/python-mode.el +++ b/Misc/python-mode.el @@ -8,7 +8,7 @@ ;; Created: Feb 1992 ;; Keywords: python languages oop -(defconst py-version "4.1" +(defconst py-version "$Revision$" "`python-mode' version number.") ;; This software is provided as-is, without express or implied @@ -310,7 +310,7 @@ support for features needed by `python-mode'.") "from" "global" "if" "import" "in" "is" "lambda" "not" "or" "pass" "print" "raise" - "return" "while" + "return" "while" "yield" ) "\\|")) (kw2 (mapconcat 'identity |