blob: b7be27d3c5b0f00eb57c8b10f1213bc9c6294754 [file] [log] [blame]
"""Make sure no-member is not emitted when modifying __doc__ via augmented assignment
https://github.com/PyCQA/pylint/issues/1078
"""
# pylint: disable=too-few-public-methods,missing-class-docstring
class Cls:
def test(self):
"a"
test.__doc__ += "b"
print(Cls().test.__doc__)
print(Cls.test.__doc__)