我有这个代码块我想注释,但内联注释不起作用。我不确定PEP8指南在这里适用。建议?在
if next_qi < qi + lcs_len \ # If the next qLCS overlaps
and next_ri < ri + lcs_len \ # If the next rLCS start overlaps
and next_ri + lcs_len > ri: # If the next rLCS end overlaps
del candidate_lcs[qi] # Delete dupilicate LCS.
Tags:
一种经常被忽视的处理非常长的行的方法是将它们分成更多、更短的行:
在Python中,
\
行继续符后面不能有任何内容。在但是,如果将条件放在括号中,则可以执行以下操作:
下面是一个演示:
^{pr2}$relevant PEP 8 guideline是:
相关问题 更多 >
编程相关推荐