Discuss / Python / typo?

typo?

Topic source

岡崎鏡

#1 Created at ... [Delete] [Delete and Lock User]

app.py中的ResponseHandler()有一行这样的代码:

if isinstance(r, int) and t >= 100 and t < 600:

问题是前面根本没有t这个变量,是不是应该改成r?

廖雪峰

#2 Created at ... [Delete] [Delete and Lock User]

是的


  • 1

Reply