Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #8556

Re: Suppressing newline writing to file after variable

References <77AE044B1BF3944FAE2435F395F11B4B016A2910@clt-exmb02.bbtnet.com> <BANLkTikpXEpgjvVsVWocw5wVVqnLmQDa5A@mail.gmail.com> <77AE044B1BF3944FAE2435F395F11B4B016A29A2@clt-exmb02.bbtnet.com> <BANLkTi=rn3Z5crEYG6VDUim=5aWgaADHRQ@mail.gmail.com>
Date 2011-06-29 08:59 +1000
Subject Re: Suppressing newline writing to file after variable
From Chris Angelico <rosuav@gmail.com>
Newsgroups comp.lang.python
Message-ID <mailman.489.1309301952.1164.python-list@python.org> (permalink)

Show all headers | View raw


On Wed, Jun 29, 2011 at 8:56 AM, Chris Angelico <rosuav@gmail.com> wrote:
>      else emit(lastprefix+tails)
>  else emit(lastprefix+tails)

Typo in the above code. The else needs a colon after it, both times.

ChrisA

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Suppressing newline writing to file after variable Chris Angelico <rosuav@gmail.com> - 2011-06-29 08:59 +1000

csiph-web