__builtins__

Huaiyu Zhu hzhu at rocket.knowledgetrack.com
Tue May 30 20:39:48 EDT 2000


It looks like that I have to use
	__builtins__.min (1,2)

in the interpreter but
	__builtins__['min']([1, 2])

in a module.  Why is this so?

This arises in the context of redefining min in a module.

Huaiyu




More information about the Python-list mailing list