库中有Python保留字和内置的列表吗?我想做一些类似的事情:
from x.y import reserved_words_and_builtins if x in reserved_words_and_builtins: x += '_'
https://stackoverflow.com/questions/22864221
相似问题