On 2021-12-10 12:20:44, Ricky Teachey wrote:
> I meant to ask about a (global) module member, not the module docstring
> itself. Like MY_GLOBAL below:
> 
>  """This is the module docs"""
> 
>  MY_GLOBAL = None
>  """MY_GLOBAL docs"""
> 
>  class CLS:
>        """CLS docs"""
> 
>        attr: int
>        """CLS.attr doc"""
> 
> Is this "global docstring" recognized by Sphinx as a docstring, too?

My bad.

Double checked and that's right, it is recognised as such.
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/XWTA2CRUUUAGSBG3O6TIYDQNSOWLXGD5/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to