On Thu, Nov 3, 2016 at 4:06 PM, Steven D'Aprano <[email protected]> wrote:
> > > No, ?? is a bit like 'or', except that only None is falsey, so it > would be: > > > > > > self.an_arg = an_arg ?? the_default > > > > > > thanks! and actually, that reads much better to me. > > That suggests a possible different colour for this operator: `?or`. > I like it! -CHB -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [email protected]
_______________________________________________ Python-ideas mailing list [email protected] https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/
