Message188775
| Author |
eric.smith |
| Recipients |
eli.bendersky, eric.smith, ncoghlan, sbt |
| Date |
2013年05月09日.12:38:03 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1368103083.3.0.498852098404.issue17941@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I agree it should work the same as Enum, and I agree it should be possible to supply the module name. But wouldn't it be cleaner as:
Point = namedtuple('Point', 'x y z', module=__name__)
rather than:
Point = namedtuple(__name__ + '.Point', 'x y z')
? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2013年05月09日 12:38:03 | eric.smith | set | recipients:
+ eric.smith, ncoghlan, eli.bendersky, sbt |
| 2013年05月09日 12:38:03 | eric.smith | set | messageid: <1368103083.3.0.498852098404.issue17941@psf.upfronthosting.co.za> |
| 2013年05月09日 12:38:03 | eric.smith | link | issue17941 messages |
| 2013年05月09日 12:38:03 | eric.smith | create |
|