From 611bbe7ddfc5ced88a10b72fd276ca9b1951c0c6 Mon Sep 17 00:00:00 2001 From: Olly Betts Date: Wed, 17 Feb 2016 14:19:08 +1300 Subject: [PATCH] [Python] Add missing keywords 'as' and 'with' to pythonkw.swg. --- CHANGES.current | 3 +++ Lib/python/pythonkw.swg | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGES.current b/CHANGES.current index 206b6bd68..37d85a816 100644 --- a/CHANGES.current +++ b/CHANGES.current @@ -5,6 +5,9 @@ See the RELEASENOTES file for a summary of changes in each release. Version 3.0.9 (in progress) =========================== +2016-02-17: olly + [Python] Add missing keywords 'as' and 'with' to pythonkw.swg. + 2016-02-07: kwwette [Octave] recognise various unary functions * Use __float__() for numeric conversions, e.g. when calling double() diff --git a/Lib/python/pythonkw.swg b/Lib/python/pythonkw.swg index b6fc62218..1a4329d20 100644 --- a/Lib/python/pythonkw.swg +++ b/Lib/python/pythonkw.swg @@ -12,6 +12,7 @@ */ PYTHONKW(and); +PYTHONKW(as); PYTHONKW(assert); PYTHONKW(break); PYTHONKW(class); @@ -39,6 +40,7 @@ PYTHONKW(raise); PYTHONKW(return); PYTHONKW(try); PYTHONKW(while); +PYTHONKW(with); PYTHONKW(yield); /*