Showing content from http://mail.python.org/pipermail/python-dev/attachments/20140204/ca38afb1/attachment.html below:
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">On 02/04/2014 05:24 AM, Antoine Pitrou
wrote:<br>
</div>
<blockquote cite="mid:20140204142457.16a6bf5e@fsol" type="cite">
<pre wrap="">On Tue, 04 Feb 2014 05:08:28 -0800
Larry Hastings <a class="moz-txt-link-rfc2396E" href="mailto:larry@hastings.org"><larry@hastings.org></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On 02/04/2014 04:17 AM, Antoine Pitrou wrote:
</pre>
<blockquote type="cite">
<pre wrap="">As you see the signature string has vanished from the __doc__ contents.
This means that any tool directly processing __doc__ attributes to
generate (e.g.) automatic API docs will produce less useful docs.
</pre>
</blockquote>
<pre wrap="">
Why couldn't these tools use inspect.Signature?
</pre>
</blockquote>
<pre wrap="">
Because it's new in 3.3? Most Python code has been written before that.
</pre>
</blockquote>
<br>
inspect.getargspec and inspect.getfullargspec in 3.4 use
inspect.Signature to get the signatures of builtins.<br>
<br>
Does this address your concerns?<br>
<br>
<br>
<i>/arry</i><br>
</body>
</html>
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