[Doc-SIG] Finding cannonical names for objects

Fred L. Drake, Jr. fdrake@acm.org
Sat, 21 Apr 2001 22:11:52 -0400 (EDT)


Edward D. Loper writes:
 > p.s., Is there a reason that __builtins__.__name__ == '__builtin__'
 > instead of '__builtins__'?

  Yes; the same reason that "import __builtin__" works but "import
__builtins__" does not.  ;-)


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations