User: Password:
Subscribe / Log in / New account

Avoid Version Numbers

Avoid Version Numbers

Posted Mar 8, 2011 22:55 UTC (Tue) by engla (guest, #47454)
In reply to: Avoid Version Numbers by ldo
Parent article: Moving to Python 3

Ironically, __builtins__ is officially an implementation detail of CPython. Recommended way to find the module containing the built-in functions on Python2 is: import __builtin__; on Python 3: import builtins.

(Log in to post comments)

Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds