Add Misc/NEWS entry for Misc/Vim/vim_syntax.py . Also use conditional
expression for the hell of it.
diff --git a/Misc/Vim/vim_syntax.py b/Misc/Vim/vim_syntax.py
index a4df485..8ef5bb8 100644
--- a/Misc/Vim/vim_syntax.py
+++ b/Misc/Vim/vim_syntax.py
@@ -65,10 +65,7 @@
skip = skip_regex.substitute(sep=separator)
else:
skip = ''
- if not raw:
- contains = 'contains=pythonEscape'
- else:
- contains = ''
+ contains = 'contains=pythonEscape' if not raw else ''
yield regex_template.substitute(raw=raw, sep=separator, skip=skip,
contains = contains)