issues
search
qunarcorp
/
open_dnsdb
OpenDnsdb 是去哪儿网OPS团队开源的基于Python语言的DNS管理系统
Apache License 2.0
415
stars
153
forks
source link
Modernize Python 2 code to get ready for Python 3
#4
Closed
cclauss
closed
5 years ago
cclauss
commented
5 years ago
Use
print()
function in both Python 2 and Python 3
Legacy
print
statements are syntax errors in Python 3 but
print()
function works as expected in both Python 2 and Python 3.
Old style exceptions --> new style for Python 3
Old style exceptions are syntax errors in Python 3 but new style exceptions work as expected in both Python 2 and Python 3.
LostSymbol
commented
5 years ago
Thank you for your support!