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

Georg Brandl g.brandl at gmx.net
Sun Mar 21 12:49:34 CET 2010


Am 21.03.2010 11:32, schrieb Nick Coghlan:
> 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"?

Of course. Thanks!

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-checkins mailing list