>>>>> "TP" == Tim Peters <tim.one@comcast.net> writes: TP> [Jeremy Hylton, explains the cells in Neil's example] Thanks! TP> That was helpful. > ... > class A refers to > function __init__ refers to > cell for A refers to > class A TP> Where does the singleton tuple containing a cell come from? I TP> guess it must be in function __init__. As Guido mentioned, I was illustrative but avoided being thorough <0.5 wink>. class A refers to its __dict__ refers to function __init__ refers to its func_closure (a tuple of cells) refers to cell for A refers to class A Jeremy
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4