forbid arument duplications
All threads resolved!
All threads resolved!
Currently we allow function to pass the same argument as a positional and a keyword argument. So we allow, something like:
qc.interpolateIndex("data", "10Min", freq="10min", method="linear")
The second positional argument to interpolateIndex
is called freq
. Instead we now fail with:
TypeError: SaQC.interpolateIndex() got multiple values for argument 'freq'
as Python function usually behave.
Merge request reports
Activity
Filter activity
changed milestone to %2.4.0
added BUG category: register/core labels
requested review from @palmb
assigned to @schaefed
- Resolved by David Schäfer
mentioned in commit 14af2ac7
Please register or sign in to reply