About: isa:298121837   Sponge Permalink

An Entity of Type : prov:Entity, within Data Space : webisadb.webdatacommons.org associated with source dataset(s)

AttributesValues
rdf:type
prov:value
  • Here???s whathappens if you try:>>> t = [1, 2, 3]>>> d = dict()>>> d[t] = oopsTraceback (most recent call last): File <stdin>, line 1, in ?TypeError: list objects are unhashableI mentioned earlier that a dictionary is implemented using a hashtable and that means that the keyshave to be hashable.A hash is a function that takes a value (of any kind) and returns an integer.
prov:wasQuotedFrom
is prov:wasDerivedFrom of
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software