Paul Prescod wrote: > > #1. Why does can I overwrite the "standard output object" with > assignment syntax > > sys.stdout=mystdoutobj > > But I have to add a profile function with function syntax: > > sys.setprofile( myprofilefunc ) .set/get APIs usually interface to C flags or variables which are not meant to be used directly (often due to performance reasons). > #2. Why doesn't dir( obj ) return inherited methods? Maybe because inherited methods are not local to the object. -- Marc-Andre Lemburg ______________________________________________________________________ Business: http://www.lemburg.com/ Python Pages: http://www.lemburg.com/python/
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