Author vinay.sajip
Recipients doerwalter, r.david.murray, rhettinger, vinay.sajip
Date 2013-01-10.16:28:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1357835339.32.0.742722536134.issue16613@psf.upfronthosting.co.za>
In-reply-to
Content
> d if d is not None else {}

Your intention makes sense, though I would prefer to write it as:

    if d is None:
        d = {}
    return self.__class__(d, *self.maps)
History
Date User Action Args
2013-01-10 16:28:59vinay.sajipsetrecipients: + vinay.sajip, doerwalter, rhettinger, r.david.murray
2013-01-10 16:28:59vinay.sajipsetmessageid: <1357835339.32.0.742722536134.issue16613@psf.upfronthosting.co.za>
2013-01-10 16:28:59vinay.sajiplinkissue16613 messages
2013-01-10 16:28:58vinay.sajipcreate