elements of decorator syntax suggestions

Terry Reedy tjreedy at udel.edu
Mon Aug 9 01:15:54 CEST 2004


"Anthony Baxter" <anthonybaxter at gmail.com> wrote in message
news:e69d3ed2040808012076f74273 at mail.gmail.com...
> The other point that's been raised is that | looks similar to l and I
> in a bunch of fonts, and I is a common prefix (for interfaces).

With a mandatory space after the |, it should be much harder to see it as
anything else, since anything else would be a syntax error.  Both 1 deco
and I deco are nonesense, so | deco should be visually interpreted as such.

Terry J. Reedy






More information about the Python-list mailing list