Last active
February 18, 2020 03:05
-
-
Save stilllisisi/1eb5761a95ad81dc0bbd047b991193bc to your computer and use it in GitHub Desktop.
【python-兼容】python2中有12个内置功能在Python3中已经被移除了。要确保在Python2代码中不要出现这些功能来保证对Python3的兼容。这有一个强制让你放弃12内置功能的方法:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from future.builtins.disabled import * |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment