You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For consistency, always use """triple double quotes""" around docstrings. Use r"""raw triple double quotes""" if you use any backslashes in your docstrings. For Unicode docstrings, use u"""Unicode triple-quoted strings""" .
I understand this is not necessarily a trivial change because you still must handle triple double quoted strings used in code properly. For example:
print """\
a
#{food}
b"""
result:
a
tacos
b
The text was updated successfully, but these errors were encountered:
For example, running this file:
result:
Though changing double quotes to single quotes will pass:
result:
But this change is non-optimal because we should use double quotes per PEP 257:
I understand this is not necessarily a trivial change because you still must handle triple double quoted strings used in code properly. For example:
result:
The text was updated successfully, but these errors were encountered: