开发者

Algorithm Python uses to decide between >>> and ... prompt in interactive console?

开发者 https://www.devze.com 2023-01-24 11:26 出处:网络
I\'m implementing a custom (Iron)Python console. I need to display a >>> prompt in general, but when a statement is incomplete, I need to change the prompt to ... and gather more lines befor
0

精彩评论

暂无评论...
验证码 换一张
取 消