--- c:\cpython\doc\library\stdtypes.rst 2015-03-11T21:08:46.520956+00:00 +++ stdtypes.rst 2015-03-16T10:56:16.137837+00:00 @@ -3707,9 +3707,9 @@ its contents cannot be altered after it is created; it can therefore be used as a dictionary key or as an element of another set. -Non-empty sets (not frozensets) can be created by placing a comma-separated list -of elements within braces, for example: ``{'jack', 'sjoerd'}``, in addition to the -:class:`set` constructor. +Non-empty sets (not frozensets) can be created with a set comprehension. This +consists of a comma-separated list of elements within braces, for example: +``{'jack', 'sjoerd'}``. This is in addition to the :class:`set` constructor. The constructors for both classes work the same: @@ -3905,9 +3905,10 @@ however, that since computers store floating-point numbers as approximations it is usually unwise to use them as dictionary keys.) -Dictionaries can be created by placing a comma-separated list of ``key: value`` -pairs within braces, for example: ``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098: -'jack', 4127: 'sjoerd'}``, or by the :class:`dict` constructor. +Dictionaries can be created with a dictionary comprehension. This consists of a +comma-separated list of ``key: value`` pairs within braces, for example: +``{'jack': 4098, 'sjoerd': 4127}`` or ``{4098: 'jack', 4127: 'sjoerd'}``, +They can also be created with the :class:`dict` constructor. .. class:: dict(**kwarg) dict(mapping, **kwarg)