Beazley第100页提到:
>>>python.__closure__ (<cell at 0x67f50: str object at 0x69230>,) >>>python.__closure__[0].cell_contents
我的理解是这__closure__是一个列表但是这些单元格和str对象是什么?这看起来像一个单元组?
__closure__
python closures python-internals
closures ×1
python ×1
python-internals ×1