扫码关注官方订阅号
在 ipython 源码中看到了如下代码:
ipython
https://github.com/ipython/ip...
查了一下发现是 python3 的新特性,但是 ipython 在 python2 中也可以用,是如何实现的?
python3
python2
如何在 python 2.7 中使用 Function Annotation?
python 2.7
Function Annotation
认证0级讲师
微信扫码关注PHP中文网服务号
QQ扫码加入技术交流群
Copyright 2014-2026 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
PHP学习
技术支持
返回顶部
认证0级讲师