[Python-checkins] CVS: python/dist/src/Misc python-mode.el,4.2,4.3
Barry Warsaw
bwarsaw@users.sourceforge.net
Tue, 19 Jun 2001 11:24:44 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory usw-pr-cvs1:/tmp/cvs-serv27071
Modified Files:
python-mode.el
Log Message:
(python-font-lock-keywords): Add "yield" as a keyword to support the
new "simple generators" feature of 2.2. See PEP 255.
Index: python-mode.el
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/python-mode.el,v
retrieving revision 4.2
retrieving revision 4.3
diff -C2 -r4.2 -r4.3
*** python-mode.el 2001/06/18 23:40:35 4.2
--- python-mode.el 2001/06/19 18:24:42 4.3
***************
*** 9,13 ****
;; Keywords: python languages oop
! (defconst py-version "4.1"
"`python-mode' version number.")
--- 9,13 ----
;; Keywords: python languages oop
! (defconst py-version "$Revision$"
"`python-mode' version number.")
***************
*** 311,315 ****
"in" "is" "lambda" "not"
"or" "pass" "print" "raise"
! "return" "while"
)
"\\|"))
--- 311,315 ----
"in" "is" "lambda" "not"
"or" "pass" "print" "raise"
! "return" "while" "yield"
)
"\\|"))