We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Glancing over the source, I often find kwargs.update(args). Also, in Listing.__init__ of listing.py:
kwargs.update(args)
Listing.__init__
listing.py
data = self.site.api( 'query', (self.generator, self.list_name), *[(text_type(k), v) for k, v in six.iteritems(self.args)] )
What reason is there for this duality of 2-tuples as arguments vs keyword arguments? Why not just consistently use keyword arguments?
If there is a reason for it, documenting it might be appropriate.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Glancing over the source, I often find
kwargs.update(args)
. Also, inListing.__init__
oflisting.py
:What reason is there for this duality of 2-tuples as arguments vs keyword arguments? Why not just consistently use keyword arguments?
If there is a reason for it, documenting it might be appropriate.
The text was updated successfully, but these errors were encountered: