[Python-checkins] r79172 - python/trunk/Doc/library/stdtypes.rst

Nick Coghlan ncoghlan at gmail.com
Sun Mar 21 11:32:25 CET 2010


georg.brandl wrote:
> Author: georg.brandl
> Date: Sun Mar 21 10:08:00 2010
> New Revision: 79172
> 
> Log:
> Add a paragraph about set displays.
> 
> Modified:
>    python/trunk/Doc/library/stdtypes.rst
> 
> Modified: python/trunk/Doc/library/stdtypes.rst
> ==============================================================================
> --- python/trunk/Doc/library/stdtypes.rst	(original)
> +++ python/trunk/Doc/library/stdtypes.rst	Sun Mar 21 10:08:00 2010
> @@ -1672,6 +1672,10 @@
>  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 pairs within braces, for example: ``{'jack', 'sjoerd'}``, in
> +addition to the :class:`set` constructor.

Is that "pairs" meant to be there? Or should it just be "elements within
braces"?

Cheers,
Nick.

-- 
Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia
---------------------------------------------------------------


More information about the Python-checkins mailing list