Comparison of programming languages (associative array): Difference between revisions

Content deleted Content added
m Python: WP:LINK: update-standardize, plural > WP:SINGULAR.
Python: clarified which types are allowed as or not allowed as dictionary keys in python, as being immutable or mutable, respectively.
Tags: Reverted Mobile edit Mobile web edit
Line 1,598:
</syntaxhighlight>
 
TheIn Python, dictionary keys must be of an [[Immutable object|immutable]] data type., Inallowing Pythontypes like integers, strings, areand immutabletuples dueas todictionary theirkeys methodbut ofnot implementationlists or other dictionaries<ref>{{Cite web|url=https://ioflood.com/blog/python-dictionary-guide-examples-syntax-and-advanced-uses/#Incremental_Building_and_Modification_of_Dictionaries|title=Python Dictionary Immutable Keys|website=ioflood.com|access-date=2023-12-09}}</ref>.
 
===Red===