Mercurial > fragmenty
changeset 16:8e428a5e35a8
lepszy przyklad
| author | Radomir Dopieralski |
|---|---|
| date | Mon, 11 Oct 2010 09:07:43 +0200 |
| parents | d02b2d68ab06 |
| children | 55e85c468f74 |
| files | docs/for%20else |
| diffstat | 1 files changed, 13 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/for%20else Mon Oct 11 09:06:20 2010 +0200 +++ b/docs/for%20else Mon Oct 11 09:07:43 2010 +0200 @@ -1,8 +1,20 @@ {{{#!python ->>> for i in []: +>>> for i in [1, 2, 3]: ... print 'a' ... else: ... print 'b' ... +a +a +a b +}}} +{{{#!python +>>> for i in [1, 2, 3]: +... print 'a' +... break; +... else: +... print 'b' +... +a }}} \ No newline at end of file
