On Sun, 30 Sep 2001, Gordon McMillan wrote: >Hmm. If that last line you typed into the interp was, in fact, >"b.aa()", then there's nothing new here. The "print" asked for >__repr__ and got None. You'll get something very similar in >any version of Python. > >If you really typed "b.aa", then something's really strange, >because you didn't ask to call anything, yet B's __getattr__ >was asked for "__repr__", not "aa". Since I doubt Guido has >adopted VB's call-with-no-args-doesn't-need-parens, I bet you >misquoted your session. No, I have it right. It was my intention to try b.aa. Every Python object has ability to represent itself as string. That is what I wanted here. Sincerely yours, Roman Suzi -- _/ Russia _/ Karelia _/ Petrozavodsk _/ rnd@onego.ru _/ _/ Sunday, September 30, 2001 _/ Powered by Linux RedHat 6.2 _/ _/ "Killer Rabbit's Motto: "Lettuce Prey."" _/
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