【发布时间】:2011-11-07 10:42:12
【问题描述】:
看着the source code of pstats我看到了这个语法:
print >> self.stream, "in %.3f seconds" % self.total_tt
print >> self.stream
这个语法是什么,它是如何调用的以及如何使用它?我以前从未见过它,也没有在我读过的任何 Python 书籍/教程中看到它。
【问题讨论】:
标签: python syntax printing python-2.7 bit-shift