Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
CodeMage
· 14y ago · 0 comments
Cleverness like this makes you feel warm and fuzzy inside right up to the point where someone decides to actually pass that second argument to your function.
Comments
[–]
TazeTSchnitzel
14y ago
Well in Python 3 you can warn them:
def fib(n, m:"donotusethisparameter"={}):