Thanks for the clearification.

On Sunday, June 7, 2020 at 1:15:35 AM UTC+5:30, Nikhil Maan wrote:
>
> We closely follow the Numpy docstring standard. You can check 
> https://numpydoc.readthedocs.io/en/latest/format.html#docstring-standard 
> for sections that are missing from our style guide. Although, we should add 
> those sections to the style guide then. 
>
> It can be like you showed or it can be:
>
> name : type
>     Description
>
> Regards, 
> Nikhil Maan
>
> On Saturday, June 6, 2020 at 9:28:58 PM UTC+5:30, Mohit Shah wrote:
>>
>> Hello,
>> how to format return statement in docstring.
>> In my previous PR which was merged, I make it as:
>>
>> *return-type :*
>> *    Brief explanation of what it is returning.*
>>
>> will it be okay or should I make some changes to this?
>>
>> On Wednesday, June 3, 2020 at 4:59:42 AM UTC+5:30, Aaron Meurer wrote:
>>>
>>> I think the order you showed in your diagram is correct. They should go 
>>> right after the parameters section.
>>>
>>> Aaron Meurer
>>>
>>> On Tue, Jun 2, 2020 at 2:26 PM Mohit Shah <[email protected]> wrote:
>>>
>>>> Thanks for the link,
>>>> Can you tell me where we can put the "error" and "return" section in 
>>>> the docstring?
>>>>
>>>> On Tuesday, June 2, 2020 at 5:17:22 AM UTC+5:30, Aaron Meurer wrote:
>>>>>
>>>>> Here is the pull request that added the style guide, with lots of 
>>>>> discussion https://github.com/sympy/sympy/pull/17715. There was also 
>>>>> some discussion that happened on the mailing list 
>>>>> https://groups.google.com/d/msg/sympy/JvcbdzbMN4g/981wq8B-BwAJ.
>>>>>
>>>>> Aaron Meurer
>>>>>
>>>>> On Mon, Jun 1, 2020 at 3:49 PM Mohit Shah <[email protected]> 
>>>>> wrote:
>>>>>
>>>>>> Sorry, But I didn't get you.
>>>>>> If we have to refer the older discussion, then can you provide link?
>>>>>>
>>>>>> On Tuesday, June 2, 2020 at 2:21:35 AM UTC+5:30, Aaron Meurer wrote:
>>>>>>>
>>>>>>> I believe the order of the sections in the style guide was decided 
>>>>>>> as part of last year's GSoD project, so before we make any changes we 
>>>>>>> should reference those discussions.
>>>>>>>
>>>>>>> Aaron Meurer
>>>>>>>
>>>>>>> On Mon, Jun 1, 2020 at 2:34 PM Mohit Shah <[email protected]> 
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Hello everyone,
>>>>>>>> In Sympy Documentation 
>>>>>>>> <https://docs.sympy.org/latest/documentation-style-guide.html>, 
>>>>>>>> There is a section named "DocString sections".
>>>>>>>> I think there must be some changes. Like parameters must be before 
>>>>>>>> Examples section and after parameter section, we can add a section for 
>>>>>>>> returned value and then there should be example.
>>>>>>>>
>>>>>>>> [image: sympy.png]
>>>>>>>> Any suggestion will be appreciated.
>>>>>>>> Thanks.
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> You received this message because you are subscribed to the Google 
>>>>>>>> Groups "sympy" group.
>>>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>>>> send an email to [email protected].
>>>>>>>> To view this discussion on the web visit 
>>>>>>>> https://groups.google.com/d/msgid/sympy/8559a780-caf1-4942-8ec8-23d8d811a84c%40googlegroups.com
>>>>>>>>  
>>>>>>>> <https://groups.google.com/d/msgid/sympy/8559a780-caf1-4942-8ec8-23d8d811a84c%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>>>> .
>>>>>>>>
>>>>>>> -- 
>>>>>> You received this message because you are subscribed to the Google 
>>>>>> Groups "sympy" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it, 
>>>>>> send an email to [email protected].
>>>>>> To view this discussion on the web visit 
>>>>>> https://groups.google.com/d/msgid/sympy/07e282a2-3903-4f9b-a4d5-17e0d7a48db7%40googlegroups.com
>>>>>>  
>>>>>> <https://groups.google.com/d/msgid/sympy/07e282a2-3903-4f9b-a4d5-17e0d7a48db7%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>>>> .
>>>>>>
>>>>> -- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "sympy" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> To view this discussion on the web visit 
>>>> https://groups.google.com/d/msgid/sympy/09c51180-a3c6-47d7-9960-19ff10495e93%40googlegroups.com
>>>>  
>>>> <https://groups.google.com/d/msgid/sympy/09c51180-a3c6-47d7-9960-19ff10495e93%40googlegroups.com?utm_medium=email&utm_source=footer>
>>>> .
>>>>
>>>

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/477b3be5-6e38-4f33-85fa-1671ac0852e3o%40googlegroups.com.

Reply via email to