I was wondering... To flush a list it is better doing "del mylist[:]" or "mylist = []"? Is there a preferred way? If yes, why? -- http://mail.python.org/mailman/listinfo/python-list
- stupid/style/list question Giampaolo Rodola'
- Re: stupid/style/list question Fredrik Lundh
- Re: stupid/style/list question Tim Chase
- Re: stupid/style/list question Giampaolo Rodola'
- Re: stupid/style/list question Raymond Hettinger
- Re: stupid/style/list question Duncan Booth
- Re: stupid/style/list question bearophileHUGS
- Re: stupid/style/list question Duncan Booth