14 Jan
2014
14 Jan
'14
4:09 a.m.
On Tue, Jan 14, 2014 at 2:16 PM, MRAB <python@mrabarnett.plus.com> wrote:
Alternatively:
g = max(self.saved_groups, [1])
or even:
g = max(self.saved_groups or [1])
Patch created and tracker issue opened. I've used something similar to MRAB's idea as it looks compact. Thanks all! http://bugs.python.org/issue20249 Is the patch in the right format? I'm not familiar with hg, so I just looked up a git<->hg Rosetta Stone that told me to use 'hg export'. The patch works with 'hg import' on 2.7 and 3.3. ChrisA