Re:The Elements of Python Style
by mydpy on Monday January 04, 2016 @05:15PM
(#10839134)
These are good points. I can't speak for pixelmonkey, but I bet he would appreciate if you sent him a pull request with your feedback. I don't know how noisy the conversation about Python style guidelines is right now, but could be worth it.
[ Parent
| on HN ]
Re:The Elements of Python Style
by pixelmonkey on Monday January 04, 2016 @06:18PM
(#10839549)
I'd gladly accept a PR on the issue raised re: "args" vs "cards" for the shuffle function. When I wrote the guideline on using the names "args" and "kwargs", I was thinking more about cases where you have to proxy both, e.g.
class SomeClass(SomeOtherClass):
def __init__(self, *args, **kwargs):
# some logic
super(SomeClass, self).__init__(*args, **kwargs)