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


Groups > comp.lang.python > #82016

Re: Tabs for indentation & Spaces for alignment in Python 3?

Path csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!eternal-september.org!feeder.eternal-september.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail
Return-Path <krish@aahan.me>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.158
X-Spam-Level *
X-Spam-Evidence '*H*': 0.74; '*S*': 0.05; 'subject:Python': 0.06; 'spaces': 0.09; 'python': 0.11; 'tabs': 0.16; 'saying': 0.22; 'message-id:@mail.gmail.com': 0.30; '(used': 0.31; 'received:google.com': 0.35; 'subject:?': 0.36; 'so,': 0.37; 'to:addr:python-list': 0.38; 'skip:- 10': 0.38; 'to:addr:python.org': 0.39; 'where:': 0.68; 'subject: & ': 0.68; '.....': 0.78; '--->': 0.84; 'ian,': 0.84
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=aahan.me; s=aahan-me; h=mime-version:date:message-id:subject:from:to:content-type; bh=Eb4dQP20biryNV8r+pyS7UmNm8ozi/2vHnB5DmhgG3U=; b=UI23G2KR2Q2q9pYUoL9hllDQasZiOc3/HoTlIdvyVY42HxBI3yY7VSNN6nO61wOxwH mqUDtx1PaMYXhc+4Po0SryMdLIbSU8gZVuDzSDVZ9Rgxpa69OMDNUYPtmNhZjU1PlmrL 4mr8fI5JIsx4XDQpfhpU8piGgW0Ob6czAsj2I=
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:date:message-id:subject:from:to :content-type; bh=Eb4dQP20biryNV8r+pyS7UmNm8ozi/2vHnB5DmhgG3U=; b=X5j0hi5jfvpGYtM0XfPUafNkXTINDCT5O3sFuSVDio7RoJa/Q/zxQp1appZmuF7OqC ZNjkBA7LXXEf6z9x0o+iI6RcA5HLGu/NXaG/lHV7hiy4OuWgQcX0dL6LYuZp+1JoDcHi g12WUNNapTwWOMeFQwJJHDRQjJr/f3lPURXNLKBpvP9TCClZE6D037bxCdDGvf2usXfk azzC+e5sQmYZpZIsufvLzCnDkznA+P3Br+1uUGwxJEEpTk/WECItJ5VVss3ZN9S1Xgoc gfA29M4pa3miAqTSGlRAfWLWIe7ReC7Wn/++dbWMo3LqRSXUCBdNwPgcI+KbtP+dA3x+ hYOQ==
X-Gm-Message-State ALoCoQnVKDxMSA1Fil4DPBUkfSZ355M0WvSFUKSYflFZ7vSvrtJAeAH8KiEuPtrwMzYvHTa0zdnj
MIME-Version 1.0
X-Received by 10.170.207.5 with SMTP id y5mr24013058yke.28.1417805342231; Fri, 05 Dec 2014 10:49:02 -0800 (PST)
X-Originating-IP [106.51.206.241]
Date Fri, 5 Dec 2014 18:49:02 +0000
Subject Re: Tabs for indentation & Spaces for alignment in Python 3?
From Aahan Krish <krish@aahan.me>
To python-list@python.org
Content-Type multipart/alternative; boundary=001a1139638cc8e4c205097c87a5
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.15
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.16636.1417805345.18130.python-list@python.org> (permalink)
Lines 38
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1417805345 news.xs4all.nl 2910 [2001:888:2000:d::a6]:45061
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python:82016

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello Ian,

So, wrt Q2, what you are saying is, the following would cause issues in
Python 3?

    int f(int x,
    ......int y) {
    --->return g(x,
    --->.........y);
    }

Where:

---> for tabs (used for indentation)
.... for spaces (used for alignment)


Best
Aahan

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


Thread

Re: Tabs for indentation & Spaces for alignment in Python 3? Aahan Krish <krish@aahan.me> - 2014-12-05 18:49 +0000

csiph-web