Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Terry Reedy Newsgroups: comp.lang.python Subject: Re: an error Date: Tue, 19 Jul 2016 05:12:03 -0400 Lines: 16 Message-ID: References: <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de b6yjYulsLqw2CCjnxZRTAwRQYOXKJ7SkmfI6V3mdaQfw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.009 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'jan': 0.11; 'subject:error': 0.11; 'editor,': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'wrote:': 0.16; 'am,': 0.23; 'header:In-Reply- To:1': 0.24; 'header:User-Agent:1': 0.26; 'header:X-Complaints- To:1': 0.26; 'start,': 0.27; 'function': 0.28; 'pep': 0.29; '(including': 0.30; 'open': 0.33; 'next': 0.35; 'according': 0.36; 'should': 0.36; 'there': 0.36; 'closing': 0.36; 'to:addr:python- list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'skip:p 20': 0.38; 'to:addr:python.org': 0.40; 'space': 0.40; 'received:96': 0.63; 'more': 0.63; 'mistake': 0.91; 'received:fios.verizon.net': 0.91 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: pool-96-227-207-81.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.2.0 In-Reply-To: <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: X-Mailman-Original-References: <175aeac6-b975-425b-b2b1-580a64ce0854@googlegroups.com> Xref: csiph.com comp.lang.python:111637 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