mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-18 20:41:22 +07:00
PY-76825 Conformance test failure: namedtuples_define_functional.py
Merge-request: IJ-MR-157423 Merged-by: Aleksandr Govenko <aleksandr.govenko@jetbrains.com> GitOrigin-RevId: 43e0729c540507d0a280d46aee4ca086e572d527
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e09f1b5935
commit
fdd47a988b
@@ -587,6 +587,17 @@ public final @NonNls class PyNames {
|
||||
TRY
|
||||
);
|
||||
|
||||
// As per: https://docs.python.org/3/reference/lexical_analysis.html#keywords
|
||||
public static final Set<String> PY3_KEYWORDS = Set.of(
|
||||
FALSE, AWAIT, ELSE, IMPORT, PASS,
|
||||
NONE, BREAK, EXCEPT, IN, RAISE,
|
||||
TRUE, CLASS, FINALLY, IS, RETURN,
|
||||
AND, CONTINUE, FOR, LAMBDA, TRY,
|
||||
AS, DEF, FROM, NONLOCAL, WHILE,
|
||||
ASSERT, DEL, GLOBAL, NOT, WITH,
|
||||
ASYNC, ELIF, IF, OR, YIELD
|
||||
);
|
||||
|
||||
public static final Set<String> BUILTIN_INTERFACES = Set.of(
|
||||
CALLABLE, HASHABLE, ITERABLE, ITERATOR, SIZED, CONTAINER, SEQUENCE, MAPPING, ABC_COMPLEX, ABC_REAL, ABC_RATIONAL, ABC_INTEGRAL,
|
||||
ABC_NUMBER
|
||||
|
||||
Reference in New Issue
Block a user