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

Content deleted Content added
m Proper noun acronym > MOS:ALLCAPS. WP:LINK update-standardize. Section move to alphabetize.
m Python: WP:LINK: update-standardize, plural > WP:SINGULAR.
Line 1,577:
</syntaxhighlight>
 
Python 2.7 and 3.x also support [https://peps.python.org/pep-0274/ dict comprehensions] (similar to [[list comprehensionscomprehension]]s), a compact syntax for generating a dictionary from any iterator:
 
<syntaxhighlight lang="python">