Yelp currently can take sources two different ways, the first is via variadic arguments, the second is by a keyword argument. If the keyword is passed then the variadic arguments are silently ignored, which is obviously not ideal. Fortunately the variadic form was never documented, and is likely not in wide use. This patch fixes it by deprecating the variadic form, and warning if both are passed. It does not change behavior as someone may be relying on it.pull/9362/head
parent
dfec4385a7
commit
bcfbfbb343
3 changed files with 27 additions and 1 deletions
@ -0,0 +1,6 @@ |
||||
## gnome.yelp variadic argument deprecation |
||||
|
||||
`gnome.yelp` previously allowed sources to be passed either as variadic |
||||
arguments or as a keyword argument. If the keyword argument was given the |
||||
variadic arguments would be silently ignored. This has changed in 0.60.0, the |
||||
variadic form has been deprecated, and a warning is printed if both are given. |
Loading…
Reference in new issue