Mercurial > python-cmd2
comparison docs/pycon2010/pycon2010.rst @ 352:798c7f32a960
line spacing
author | catherine@Drou |
---|---|
date | Tue, 16 Feb 2010 23:08:17 -0500 |
parents | 8a5bc9f5c28e |
children | 5e3f918c41d8 |
comparison
equal
deleted
inserted
replaced
351:8a5bc9f5c28e | 352:798c7f32a960 |
---|---|
273 chant = ['yo'] + ['ho'] * opts.ho | 273 chant = ['yo'] + ['ho'] * opts.ho |
274 if opts.commas: | 274 if opts.commas: |
275 separator = ', ' | 275 separator = ', ' |
276 else: | 276 else: |
277 separator = ' ' | 277 separator = ' ' |
278 print('{0} and a bottle of {1}'.format(separator.join(chant), arg)) | 278 chant = separator.join(chant) |
279 print('{0} and a bottle of {1}'.format(chant, arg)) | |
279 | 280 |
280 | 281 |