From 311361cc52217ae3cb70d320134b399547efa60f Mon Sep 17 00:00:00 2001 From: tokyRT Date: Mon, 3 Nov 2025 11:42:04 +0100 Subject: [PATCH] add python keywords --- .../FamixPythonSourceLanguage.class.st | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/src/Famix-Python-Entities/FamixPythonSourceLanguage.class.st b/src/Famix-Python-Entities/FamixPythonSourceLanguage.class.st index 689e296..33a5f5f 100644 --- a/src/Famix-Python-Entities/FamixPythonSourceLanguage.class.st +++ b/src/Famix-Python-Entities/FamixPythonSourceLanguage.class.st @@ -28,3 +28,19 @@ FamixPythonSourceLanguage class >> annotation [ ^ self ] + +{ #category : 'meta' } +FamixPythonSourceLanguage class >> languageKeyWords [ + "keywords from keyword.kwlist + Python version: 3.10.18" + + ^ #( +and as assert async await +break class continue def del +elif else except False finally +for from global if import +in is lambda None nonlocal +not or pass raise return +True try while with yield + ) +]