Rocksolid Light

News from da outaworlds

mail  files  register  groups  login

Message-ID:  

Are you making all this up as you go along?


comp / comp.lang.python / Re: Flubbed it in the second interation through the string: range error... HOW?

SubjectAuthor
o Re: Flubbed it in the second interation through the string: range error... HOW?Grant Edwards

1
Subject: Re: Flubbed it in the second interation through the string: range error... HOW?
From: Grant Edwards
Newsgroups: comp.lang.python
Date: Wed, 29 May 2024 14:02 UTC
References: 1 2 3 4
Path: eternal-september.org!news.eternal-september.org!feeder3.eternal-september.org!fu-berlin.de!uni-berlin.de!not-for-mail
From: grant.b.edwards@gmail.com (Grant Edwards)
Newsgroups: comp.lang.python
Subject: Re: Flubbed it in the second interation through the string: range
error... HOW?
Date: Wed, 29 May 2024 10:02:03 -0400 (EDT)
Lines: 8
Message-ID: <mailman.62.1716991325.2909.python-list@python.org>
References: <28615cd5-5b77-44bb-ba3a-5ce6cad7c943@tompassin.net>
<ZlbCr8Bv1sV6fjzN@cskk.homeip.net>
<CAPTjJmrnw51BDHrY25hcSzH6-R+pwSSyHf6yOrDa=4iFQm4EPg@mail.gmail.com>
<4Vq9zv5ZDhznVH3@mail.python.org>
X-Trace: news.uni-berlin.de zzNeUEzfDIxit0wLMSfOMw/ArrZGQlevxnyKcwCqaunQ==
Cancel-Lock: sha1:ij7yb1tJBPAMjk7h2/bgFG8baPU= sha256:tz4g+A89umcZ9HDFjSwdnMzZnOqYgjkgO2tGC0NBH8Q=
Return-Path: <grant.b.edwards@gmail.com>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.071
X-Spam-Evidence: '*H*': 0.87; '*S*': 0.02; 'angelico': 0.09;
'from:addr:grant.b.edwards': 0.16; 'from:name:grant edwards':
0.16; 'subject:second': 0.16; 'subject:string': 0.16; 'wrote:':
0.16; 'grant': 0.17; 'to:addr:python-list': 0.20; 'chris': 0.28;
'header:User-Agent:1': 0.30; 'python-list': 0.32;
'from:addr:gmail.com': 0.35; 'block': 0.39; 'message-id:invalid':
0.68; 'subject:through': 0.69; 'subject: \n ': 0.84; 'thing?':
0.84
User-Agent: slrn/1.0.3 (Linux)
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.39
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: <https://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>
X-Mailman-Original-Message-ID: <4Vq9zv5ZDhznVH3@mail.python.org>
X-Mailman-Original-References: <28615cd5-5b77-44bb-ba3a-5ce6cad7c943@tompassin.net>
<ZlbCr8Bv1sV6fjzN@cskk.homeip.net>
<CAPTjJmrnw51BDHrY25hcSzH6-R+pwSSyHf6yOrDa=4iFQm4EPg@mail.gmail.com>
View all headers

On 2024-05-29, Chris Angelico via Python-list <python-list@python.org> wrote:

> print(f"if block {name[index]=} {index=}")

Holy cow! How did I not know about the f-string {=} thing?

--
Grant

1

rocksolid light 0.9.8
clearnet tor