Message150695
| Author |
pitrou |
| Recipients |
Arfrever, amaury.forgeotdarc, denilsonsa, giampaolo.rodola, loewis, neologix, pitrou, rosslagerwall, zbysz |
| Date |
2012年01月05日.21:42:14 |
| SpamBayes Score |
0.00024929421 |
| Marked as misclassified |
No |
| Message-id |
<1325799659.8907.15.camel@localhost.localdomain> |
| In-reply-to |
<1325798693.8.0.0681137479856.issue13609@psf.upfronthosting.co.za> |
| Content |
The point of named tuples here is that you can use both
get_terminal_size().columns
or
columns, rows = get_terminal_size()
depending on the situation.
Also, the better repr() makes debugging easier. |
|