[Python-Dev] docstring before function declaration (original) (raw)
Anthony Baxter anthony at interlink.com.au
Mon Mar 21 08:59:18 CET 2005
- Previous message: [Python-Dev] docstring before function declaration
- Next message: [Python-Dev] docstring before function declaration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Monday 21 March 2005 18:10, Nicholas Jacobson wrote:
IIRC, Guido once mentioned that he regretted not setting function docstrings to come before the function declaration line, instead of after.
How do you distinguish between a docstring at the top of a module that's immediately followed by a function? Is it the module docstring or the function docstring?
-- Anthony Baxter <anthony at interlink.com.au> It's never too late to have a happy childhood.
- Previous message: [Python-Dev] docstring before function declaration
- Next message: [Python-Dev] docstring before function declaration
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]