winfred 最近的时间轴更新
winfred

winfred

V2EX 第 53699 号会员,加入于 2014-01-07 18:38:09 +08:00
winfred 最近回复了
2014-01-13 11:17:14 +08:00
回复了 jayn1985 创建的主题 Python 一个Python语法问题求解惑
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.

按官方文档,locals()也输出被调用的自由变量。
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   3038 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 11ms · UTC 14:31 · PVG 22:31 · LAX 06:31 · JFK 09:31
Developed with CodeLauncher
♥ Do have faith in what you're doing.