Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #197732
| Path | csiph.com!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail |
|---|---|
| From | Lawrence D’Oliveiro <ldo@nz.invalid> |
| Newsgroups | comp.lang.python |
| Subject | Section 8.6: The match Statement |
| Date | Mon, 16 Mar 2026 09:14:17 -0000 (UTC) |
| Organization | A noiseless patient Spider |
| Lines | 7 |
| Message-ID | <10p8hl8$1rguv$1@dont-email.me> (permalink) |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| Content-Transfer-Encoding | 8bit |
| Injection-Date | Mon, 16 Mar 2026 09:14:17 +0000 (UTC) |
| Injection-Info | dont-email.me; posting-host="93718be3f528c1ea5477d47aa0989d9b"; logging-data="1950687"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zI/TG0FoNEhdKwZ3lSMIF" |
| User-Agent | Pan/0.165 (Kostiantynivka) |
| Cancel-Lock | sha1:UEpSEMPFdiPS+Kxlc7P2ZIepm2o= |
| Xref | csiph.com comp.lang.python:197732 |
Show key headers only | View raw
Been reading and rereading this <https://docs.python.org/3/reference/compound_stmts.html#the-match-statement>. I think I have used my first match-statement in anger today, but it’s a very simple one, that doesn’t do any more elaborate pattern-matching or variable capture. Give it time, I suppose ...
Back to comp.lang.python | Previous | Next | Find similar
Section 8.6: The match Statement Lawrence D’Oliveiro <ldo@nz.invalid> - 2026-03-16 09:14 +0000
csiph-web