Message279277
| Author | tkinter |
|---|---|
| Recipients | GNJ, klappnase, serhiy.storchaka, tkinter |
| Date | 2016-10-23.19:43:41 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1477251821.19.0.337796355074.issue28498@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
Your proposal also makes an extra computation: an item (not) belongs to a list
if not self._w in cmd:
cmd = _flatten((self._w, cmd))
Also it's more efficient to use this than the function _flaten() in that situation:
if not self._w in cmd:
cmd = (self._w,) + cmd |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2016-10-23 19:43:41 | tkinter | set | recipients: + tkinter, klappnase, serhiy.storchaka, GNJ |
| 2016-10-23 19:43:41 | tkinter | set | messageid: <1477251821.19.0.337796355074.issue28498@psf.upfronthosting.co.za> |
| 2016-10-23 19:43:41 | tkinter | link | issue28498 messages |
| 2016-10-23 19:43:41 | tkinter | create | |