最佳答案
这样行不通:
something = \
line_of_code * \ # Comment
another_line_of_code * \ # Comment
and_another_one * \ # Comment
etc
这一点也是如此:
something = \
# Comment \
line_of_code * \
# Comment \
another_line_of_code * ...
这一点也是如此:
something = \
''' Comment ''' \
line_of_code * \
''' Comment ''' \
another_line_of_code * ...
有没有办法在代码中将注释分成多行?