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


Groups > comp.lang.python > #111637

Re: an error

From Terry Reedy <tjreedy@udel.edu>
Newsgroups comp.lang.python
Subject Re: an error
Date 2016-07-19 05:12 -0400
Message-ID <mailman.87.1468919555.2307.python-list@python.org> (permalink)
References <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> <nmkqtf$k3g$1@ger.gmane.org>

Show all headers | View raw


On 7/19/2016 2:07 AM, WePlayGames WeEnjoyIt wrote:

>    pygame1.blit(image3,(143,146)

If you type this line (including \n) into IDLE's Python-aware editor, it 
will notice that there is an open parenthesis for a function call and 
indent the next line to the space under the 'i' of image.  This is 
because you either A) did not make a mistake and intend to type more 
before the closing parenthesis, and according to PEP 8, lined up with 
'i' is the place to start, or B) you did make a mistake and should 
notice the indent as a signal.

-- 
Terry Jan Reedy

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


Thread

an error WePlayGames WeEnjoyIt <crazyguyplaying13@gmail.com> - 2016-07-18 23:07 -0700
  Re: an error Chris Angelico <rosuav@gmail.com> - 2016-07-19 16:20 +1000
    Re: an error WePlayGames WeEnjoyIt <crazyguyplaying13@gmail.com> - 2016-07-18 23:26 -0700
      Re: an error Chris Angelico <rosuav@gmail.com> - 2016-07-19 16:32 +1000
        Re: an error WePlayGames WeEnjoyIt <crazyguyplaying13@gmail.com> - 2016-07-18 23:37 -0700
          Re: an error Chris Angelico <rosuav@gmail.com> - 2016-07-19 16:45 +1000
  Re: an error Ian Kelly <ian.g.kelly@gmail.com> - 2016-07-19 00:20 -0600
  Re: an error Terry Reedy <tjreedy@udel.edu> - 2016-07-19 05:12 -0400
  Re: an error Laurent Pointal <laurent.pointal@free.fr> - 2016-07-19 19:24 +0200

csiph-web