Files
kiro-automation-toolkit/python_env/Lib/keyword.py
T
hotyi 49374eff42 fix: 修复AWS密码生成规则和邮件过滤逻辑
- 修正AWS密码生成:只使用+、-、/特殊字符,其他为大小写字母和数字
- 优化邮件时间过滤:从10分钟缩短为2分钟,减少过旧邮件处理
- 完善.env配置项:添加ENABLE_MANUAL_MODE和SMS_WEBSITE配置
- 清理Python环境缓存文件

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-04 03:13:27 +08:00

65 lines
1.0 KiB
Python

"""Keywords (from "Grammar/python.gram")
This file is automatically generated; please don't muck it up!
To update the symbols in this file, 'cd' to the top directory of
the python source tree and run:
PYTHONPATH=Tools/peg_generator python3 -m pegen.keywordgen \
Grammar/python.gram \
Grammar/Tokens \
Lib/keyword.py
Alternatively, you can run 'make regen-keyword'.
"""
__all__ = ["iskeyword", "issoftkeyword", "kwlist", "softkwlist"]
kwlist = [
'False',
'None',
'True',
'and',
'as',
'assert',
'async',
'await',
'break',
'class',
'continue',
'def',
'del',
'elif',
'else',
'except',
'finally',
'for',
'from',
'global',
'if',
'import',
'in',
'is',
'lambda',
'nonlocal',
'not',
'or',
'pass',
'raise',
'return',
'try',
'while',
'with',
'yield'
]
softkwlist = [
'_',
'case',
'match',
'type'
]
iskeyword = frozenset(kwlist).__contains__
issoftkeyword = frozenset(softkwlist).__contains__