英文文档: locals() Update and return a dictionary representing the current local symbol table. Free variables are returned by locals()when it is called in function blocks, but not in class blocks. 返回当前作用域内的局部变量和其值组成的字典 说明: 1. 函数功能返回当前作用域内的局部变量和其值组成的字典,与…
英文文档: class set([iterable]) Return a new set object, optionally with elements taken from iterable. set is a built-in class. See set and Set Types — set, frozenset for documentation about this class. For other containers see the built-in frozenset, li…