Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e275c42c
Commit
e275c42c
authored
Jun 19, 2001
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(python-font-lock-keywords): Add "yield" as a keyword to support the
new "simple generators" feature of 2.2. See PEP 255.
parent
4e42561a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Misc/python-mode.el
Misc/python-mode.el
+2
-2
No files found.
Misc/python-mode.el
View file @
e275c42c
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment