From caa502a61850f79294a85a426e563b90c71f9b67 Mon Sep 17 00:00:00 2001 From: Shashwat Poudel <71143976+Shashwat-pd@users.noreply.github.com> Date: Fri, 2 Sep 2022 15:52:10 +0545 Subject: [PATCH] Update code_python (#3486) shashwat-pd Structural pattern matching has been added in the form of a match statement and case statements of patterns with associated actions in python 3.10. Reference: https://docs.python.org/3/whatsnew/3.10.html#pep-634-structural-pattern-matching --- frontend/static/languages/code_python.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/static/languages/code_python.json b/frontend/static/languages/code_python.json index 44a9fbcc3..043fcd145 100644 --- a/frontend/static/languages/code_python.json +++ b/frontend/static/languages/code_python.json @@ -23,6 +23,7 @@ "callable", "capitalise", "capitalize", + "case", "casefold", "ceil", "center", @@ -109,6 +110,7 @@ "lstrip", "maketrans", "map", + "match", "math", "max", "memoryview",