A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2005-March/052324.html below:

[Python-Dev] docstring before function declaration

[Python-Dev] docstring before function declaration [Python-Dev] docstring before function declarationAnthony Baxter anthony at interlink.com.au
Mon Mar 21 08:59:18 CET 2005
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.
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4