Repository navigation
ENH: clarify error message of broadcast - #6900
Conversation
|
There are several other instances of that |
|
Sure, a common formulation in "Numpy style" would be good. |
|
There is certainly no need for the brackets. Since the second value will be numeric, it probably makes sense that the first one is as well. And the wording should be identical for all instances of the same error, but I don't think we have a NumPy style for this, use your best judgement, and whatever you come up with should be good. FWIW, I like the at least / at most wording better than the (inclusive) one... |
|
I found 3 places with similar messages in the same file and applied the same style at least / at most to all of them. Brackets are gone and numbers are printed as numeric values now. |
ENH: clarify error message of broadcast
|
Thanks @kohr-h . |
|
For future reference, this is more |
|
Alright, got it. ;-) |
Fix for #6898. What about the brackets around the maximum number of arguments? Could also be removed while we're at it.