深南之星

导航

 

2020年2月12日

摘要: 1. python3中print成为了函数 2. python3不再有unicode对象,默认的str就是unicode 3. python3除号返回浮点数 4. 增加类型注解协助ide进行类型提示和检查 5. super直接调用父类函数(super().func())了,对python2的supe 阅读全文
posted @ 2020-02-12 23:45 深南之星 阅读(191) 评论(0) 推荐(0) 编辑