sage: hash(frozenset())
133156838395276

Am Dienstag, 29. Mai 2018 20:44:48 UTC+2 schrieb Sébastien Labbé:

> > Is there any point at all in having "Set"?
>
> sage: hash(Set())
> 133156838395276
> sage: hash(set())
> ---------------------------------------------------------------------------
> TypeError                                 Traceback (most recent call last)
> <ipython-input-2-2699417ebeac> in <module>()
> ----> 1 hash(set())
>
> TypeError: unhashable type: 'set'
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to