首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > perl python >

python - locals()函数

2012-09-04 
python --- locals()函数 help(locals)Help on built-in function locals in module __builtin__:local

python --- locals()函数
>>> help(locals)


Help on built-in function locals in module __builtin__:

locals(...)
    locals() -> dictionary

    Update and return a dictionary containing the current scope's local variables.


在django中,还是个不错的函数。

热点排行