lingwitt at gmail.com wrote: > #### Tangent (Utter Tomfoolery) #### > > More interestingly, one sees (if one squints) the distinction > between modules, > classes, and functions blur: > > >>> def new_b(): > ... print "tee hee" > >>> a.b = new_b() > >>>a() > tee hee > 3 > >>> print x > 5 > After falling into bed, I realized that everything after this point contradictions with my earlier usage of qualified names. Upon further investigation, it seems what I have suggested above conflicts with the use of func_dict. > or perhaps: > > >>> # Interestingly, the following code is valid already > ... > >>> def Person(name, age, location): > ... def print_record(): > ... print('The last person created had the name ' + > Person.name_last) > ... print("However, I don't know any of the details") > ...
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