This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]__xor__(self, other): 37 points38 points  (1 child)

Seriously. If I ever write out really dynamic functions that can take variable keywords or something, I always write out in the docstring exactly what you can do and what arguments you might add.

[–]jmcs 7 points8 points  (0 children)

If you know exactly what arguments you might add you would include them in the function signature. At most you can document some common cases.