ago wrote: > Is it possible to have a default value associated python objects? I.e. > to flag an attribute in such a way that the assignment operator for the > object returns the default attribute instead of the object itself, but > calls to other object attributes are properly resolved? (I don't think > so, but I am not sure) Python is not Visual Basic. In Visual Basic, objects could have a default property which was set when the object variable was assigned to, but that was only possible because object variables had to be set with "Set", not "Let". Reinhold
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