30.03.20 20:27, Chris Angelico пише:
def __iadd__(self, s): self.data.append(s)
__iadd__ should return self. _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/FWP5SD42OLX55XJ7HG5JX5D3FBAQ44ZP/ Code of Conduct: http://python.org/psf/codeofconduct/
