On Tue, Jan 14, 2014 at 2:16 PM, MRAB <python at 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
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4