Here `**constraints` is used instead of `**cons`.  I like the spelled-out version better.