[Python-Dev] [Python-checkins] cpython: Close #4966: revamp the sequence docs in order to better explain the state of
Nick Coghlan
ncoghlan at gmail.com
Tue Aug 21 03:29:54 CEST 2012
On Tue, Aug 21, 2012 at 3:01 AM, Terry Reedy <tjreedy at udel.edu> wrote:
>
>
> On 8/20/2012 3:14 AM, nick.coghlan wrote:
>>
>> +(5)
>> + :meth:`clear` and :meth:`!copy` are included for consistency with the
>> + interfaces of mutable containers that don't support slicing operations
>> + (such as :class:`dict` and :class:`set`)
>> +
>> + .. versionadded:: 3.3
>> + :meth:`clear` and :meth:`!copy` methods.
>
>
> Should !copy be copy (both places) or is '!' some markup I don't know about?
It means you get the formatting without the cross-reference. I didn't
write that bit - it shows up in the diff because it was moved around.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
More information about the Python-Dev
mailing list