__builtins__

Huaiyu Zhu hzhu at rocket.knowledgetrack.com
Wed May 31 02:39:48 CEST 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