an error

Terry Reedy tjreedy at udel.edu
Tue Jul 19 05:12:03 EDT 2016


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





More information about the Python-list mailing list