Message169485
| Author |
mastahyeti |
| Recipients |
ezio.melotti, mastahyeti, orsenthil, r.david.murray |
| Date |
2012年08月30日.19:10:21 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<CAE=pOyG6bJrD--raOQkdwyZUUK-B+eMRbgj7DX+gssmERLMVVw@mail.gmail.com> |
| In-reply-to |
<1346353420.47.0.00406194791438.issue15824@psf.upfronthosting.co.za> |
| Content |
I can live with that, it just seems that ordinary item assignment is
more pythonic....
On Thu, Aug 30, 2012 at 2:03 PM, R. David Murray <report@bugs.python.org> wrote:
>
> R. David Murray added the comment:
>
> Actually, Senthil is right. What you want is the _replace method of namedtuple to satisfy your use case.
>
> ----------
> resolution: -> works for me
> stage: -> committed/rejected
> status: open -> closed
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue15824>
> _______________________________________ |
|