[SciPy-Dev] Warning of deprecation in doc's ?

David Goldsmith d.l.goldsmith at gmail.com
Wed Jun 16 11:59:10 EDT 2010


On Wed, Jun 16, 2010 at 6:44 AM, Ralf Gommers
<ralf.gommers at googlemail.com>wrote:

>
>
> On Wed, Jun 16, 2010 at 10:55 AM, David Goldsmith <d.l.goldsmith at gmail.com
> > wrote:
>
>>
>> Well, the deadline is upon us; here's my concrete proposal:
>>
>> http://projects.scipy.org/numpy/wiki/CodingStyleGuidelines#docstring-standardshould be modified as follows:
>>
>> *Present Content*
>>      :
>> Sections
>>
>> The sections of the docstring are:
>>
>> 1.  *Short summary*...
>>
>> *Proposed Content*
>>      :
>> Sections
>>
>> The sections of the docstring are:
>>
>> 0.  *Deprecation warning* (optional, but required if the object is
>> designated for deprecation)
>>
>>      .. deprecated:: <*deprecation schedule*>, <*justification, if known*>
>> (optional), <*functional equivalents, if extant*> (optional), <*example*>
>>
>> 1.  *Sort summary*...
>>
>
> The short summary gets pulled into function overview tables, it should
> really be the first line of the docstring. Please put the deprecation
> warning just after it.
>

Gotchya, NP.


> Content looks fine to me.
>
>
>>
>> To submit this as a patch, do I grab HOWTO_DOCUMENT.txt, modify it,
>
>
> Yes so far.
>
>
>> then attach the modified version as an attachment to the ticket?
>>
>> Make that a diff please.
>

Sorry, can you "cookbook" that for me please (i.e., exactly how do I do
that)?

Thanks!!!

DG

>
> Cheers,
> Ralf
>
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
>


-- 
Mathematician: noun, someone who disavows certainty when their uncertainty
set is non-empty, even if that set has measure zero.

Hope: noun, that delusive spirit which escaped Pandora's jar and, with her
lies, prevents mankind from committing a general suicide.  (As interpreted
by Robert Graves)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20100616/5ae802e1/attachment.html>


More information about the SciPy-Dev mailing list