python - Regarding multiline/docstring comment -
i going through part of multi line comment shown below:
def __init__(self): """ connect nexus 7 rfcomm port: 4 nexus 7 mac address: 08:60:6e:a5:82:c8 """
if not mistaken multi line comment reason python uses multi-line comment establish connection. makes me curious why happens?
you're right, it's comment. it's docstring noted @nightshadequeen.
docstrings functions/etc. used provide contextual hints in ides, in visual studio intellisense.
comments not provide functionality or anything, helpful programmers using or reading code @ later date.
Comments
Post a Comment