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

David Goldsmith d.l.goldsmith@gmail....
Wed Jun 16 10:59:10 CDT 2010


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

>
>
> On Wed, Jun 16, 2010 at 10:55 AM, David Goldsmith <d.l.goldsmith@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@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.scipy.org/pipermail/scipy-dev/attachments/20100616/5ae802e1/attachment-0001.html 


More information about the SciPy-Dev mailing list