2015-10-18 99 views

回答

1

\是一個line continuation字符。這意味着「這個聲明繼續下一行」。

如果你的代碼看起來像,

raise Typeerror, \ 
"expected string, got tuple" 

這行爲相同

raise Typeerror, "expected string, got tuple"