Spot The Syntax Error (Posting On Python-List Prohibited)

Liste des GroupesRevenir à cl python 
Sujet : Spot The Syntax Error (Posting On Python-List Prohibited)
De : ldo (at) *nospam* nz.invalid (Lawrence D'Oliveiro)
Groupes : comp.lang.python
Date : 21. Nov 2024, 02:11:29
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vhm1c1$bbm8$1@dont-email.me>
User-Agent : Pan/0.160 (Toresk; )
We’ve all seen it happen: some small screwup in the whitespace when
posting some Python code online turns the code into gibberish.

Here’s another example:
<https://www.tomshardware.com/raspberry-pi/raspberry-pi-pico/how-to-send-and-receive-bluesky-posts-with-a-raspberry-pi-pico-w>.
Luckily, this is a small mistake, and it should be easy to guess what
the correct code is.

(Actually, there might be a second mistake, though this one affects
the logic rather than the syntax.)

This is yet another reason why I like to put “#end” comments in my
code: they provide some extra redundancy, which makes it easier to
recover from mistakes like this.

Date Sujet#  Auteur
21 Nov 24 o Spot The Syntax Error (Posting On Python-List Prohibited)1Lawrence D'Oliveiro

Haut de la page

Les messages affichés proviennent d'usenet.

NewsPortal