Re: [Python-ideas] parameter omit

May 11, 2007
7:11 a.m.
On 5/11/07, Aaron Brady <castironpi@comcast.net> wrote:
If you really care about lines and characters, you can write:: k = {} if self.filename: k['filename'] = self.filename if hasattr(self, 'hook'): k['reporthook'] = self.hook urlretrieve(self.url, **k) That's 4 lines, 132 characters, compared to your 3 lines, 133 characters. But the fact that you're drawing the "lets count lines of code" card suggests that there's no point discussing this any further. Good luck with your proposal. STeVe -- I'm not *in*-sane. Indeed, I am so far *out* of sane that you appear a tiny blip on the distant coast of sanity. --- Bucky Katt, Get Fuzzy
6522
Age (days ago)
6522
Last active (days ago)
1 comments
2 participants
participants (2)
-
Aaron Brady
-
Steven Bethard