Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: INADA Naoki Newsgroups: comp.lang.python Subject: Re: Continuing indentation Date: Fri, 4 Mar 2016 10:23:37 +0900 Lines: 11 Message-ID: References: <8760x4bo5h.fsf@elektro.pacujo.net> <871t7sbkex.fsf@elektro.pacujo.net> <87vb53se36.fsf@elektro.pacujo.net> <56d8d33d$0$1585$c3e8da3$5496439d@news.astraweb.com> <56D8DF99.6070808@lucidity.plus.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de kMsMKILWj4Qx2QCHmcjnJQJjIqoPo1JVRBR93cjkBVNw== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'operator': 0.03; 'received:209.85.223': 0.03; 'binary': 0.05; 'operator,': 0.09; 'splitting': 0.09; 'pep8': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'why,': 0.16; 'preferred': 0.20; 'to:name :python-list@python.org': 0.20; 'header:In-Reply-To:1': 0.24; 'message-id:@mail.gmail.com': 0.27; 'tend': 0.27; 'received:google.com': 0.35; 'url:org': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'received:209': 0.38; 'end': 0.39; 'to:addr:python.org': 0.40 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=PCPYZC7s939PDRObjOiSqsvZ/uqW8reUarWYJJ3ktgM=; b=h5mraL82zXg5ZGsAZ9/0+aN8xeEfVrcGRRATBraJMKZ6HdL44n4EuVPIVqbNuukKx9 8QI4Uku8dRn5XujpmjEh/GOXAav7+iLoVIgqcFIzMHil1zEib64DVlLn73RIFN6lK3YI r4jvH0bKgFIxZbJWY3lAgJI/UK/BwclSO8klGbezvj85ka3adJ5ONtfKJuUh8kUl5F8w HKlfVUSYRWN6yiCFtmyOlxQJzyb4cP53W/GAJCfEem+OxYA+2BF9mrlol2wpmMMtI29b SATTkqJQFlxDZ2Nf8E5WdgOQrm5heDvZdPx+PcLAG6eR4PpSu7AjH73V1g63OPORMVCt mupQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=PCPYZC7s939PDRObjOiSqsvZ/uqW8reUarWYJJ3ktgM=; b=b0PMAjAh4So5nnEcgXJnSR53xktRulUyqJVqGGiaxwxebPMcfZI6/c3AxiVYiVK7pl 7Aysk8BBsk8FBFI+UrEnrPpk76yCspln1qbNxCJpgix+fiCmZ5fYts1PAOtKQzSUkfRw 7kzehK6CIduvyVsDVElROuawvk9G9ZRQzoHRX/wD5PpgkizU+SG8ovFX7fVR93YhVoJe CBs2lhPnUsIAP9Go4BbAkTynWnyXxwyYxaeIqMX6uK/HRm4wIGVL4SRYpo6euwBR1/yz /tKTPIG75qt0dMeww2Kt6hUWYIM46DF0aKEo37SWjyIY2AkLkUfGW46hEOMVDAlR0qKj vMMw== X-Gm-Message-State: AD7BkJL3xcmLWjZII8lE83fTgV+X0W5kZ7zGJKrZP0Vj2VK8WgwlNn4larqZ8ySQJPk2eOrJFATas5pdfFlK4Q== X-Received: by 10.107.10.101 with SMTP id u98mr6359901ioi.60.1457054636901; Thu, 03 Mar 2016 17:23:56 -0800 (PST) In-Reply-To: <56D8DF99.6070808@lucidity.plus.com> X-Content-Filtered-By: Mailman/MimeDel 2.1.21 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:104010 > > > Indeed. I don't understand why, when splitting a condition such as this, > people tend to put the operator at the end of each line. > > Because PEP8 says: > The preferred place to break around a binary operator is after the operator, not before it. http://pep8.org/#maximum-line-length