From ram@ram@zedat.fu-berlin.de (Stefan Ram) to comp.lang.python on Sat Feb 15 19:46:50 2025
From Newsgroup: comp.lang.python
I caught a glimpse of a tome on Python wizardry for the big
leagues. Didn't exactly float my boat, but a couple nuggets
stuck like gum on a sidewalk:
Picking your container flavor can be a sneaky way of documentation,
leaving breadcrumbs for the next poor soul, hinting whether you're
cool with duplicate values or not. (But other times it's just about
efficiency.)
These days, you can slap "Final" on something (at least for
module variables) to tell it's not to be changed!
from typing import Final
a : Final = 2
--- Synchronet 3.20c-Linux NewsLink 1.2
Who's Online
Recent Visitors
Microbot
Sun Mar 22 08:05:36 2026
from
Moore, Ok
via
Telnet
Pixelrez
Sat Mar 21 16:03:42 2026
from
Lenexa,ks
via
Telnet
Pixelrez
Sat Mar 21 15:57:39 2026
from
Lenexa,ks
via
Telnet
Pixelrez
Sat Mar 21 15:57:11 2026
from
Lenexa,ks
via
Telnet