A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2014-February/132254.html below:

[Python-Dev] The docstring hack for signature information has to go

[Python-Dev] The docstring hack for signature information has to go [Python-Dev] The docstring hack for signature information has to goLarry Hastings larry at hastings.org
Tue Feb 4 11:21:51 CET 2014
On 02/04/2014 01:41 AM, Georg Brandl wrote:
> Clever, but due to the "hidden" space it also increases the frustration factor
> for people trying to find out "why is this accepted as a signature and not this".
>
> I don't think a well-chosen visible separator is worse off, such as "--\n".

I could live with that.  To be explicit: the signature would then be of 
the form

    <name-of-function(...)\n--\n

The scanning function would look for "<name-of-function>(" at the 
front.  If it found it it'd scan forwards in the docstring for 
")\n--\n".  If it found *that*, then it would declare success.


//arry/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20140204/f92ed678/attachment.html>
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