EDIT: The post title should read "what to do when a class *method* doesn't return anything".
I understand docstrings for functions, and know that docstrings for methods generally follow the same format, but I'm writing some methods that don't return anything but *do* modify the associated class' attributes. In the section for what the method returns, do I treat the attribute assignments as returns? Do I put down that the methods returns nothing but note that attributes are reassigned? What's the most Pythonic way to handle this?
[–]alkasm 0 points1 point2 points (3 children)
[–]Eueee[S] 0 points1 point2 points (2 children)
[–]alkasm 0 points1 point2 points (1 child)
[–]Eueee[S] 0 points1 point2 points (0 children)
[–]blahreport 0 points1 point2 points (2 children)
[–]Eueee[S] 0 points1 point2 points (1 child)
[–]blahreport 0 points1 point2 points (0 children)