Petr Blahoš <
pe...@blahos.com> writes:
> I have not yet found the change mentioned in python docs but I suppose
> it may well be legit.
Mentioned in the "Other Language Changes" section of
https://docs.python.org/3/whatsnew/3.12.html:
slice objects are now hashable, allowing them to be used as dict keys
and set items. (Contributed by Will Bradshaw, Furkan Onder, and
Raymond Hettinger in gh-101264
[
https://github.com/python/cpython/pull/101264])
bye, lele.
--
nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
le...@metapensiero.it | -- Fortunato Depero, 1929.