Clarify that callfunc() is an extension to the DB API.

This commit is contained in:
Anthony Tuininga 2008-05-23 14:12:28 +00:00
parent e03f1003f3
commit dd2cc400db
7 changed files with 17 additions and 8 deletions

View File

@ -60,6 +60,10 @@ Cursor Object
must contain one entry for each argument that the function expects. The
result of the call is the return value of the function.
.. note::
The DB API definition does not define this method.
.. method:: Cursor.callproc(name, [parameters=[]])

View File

@ -94,10 +94,15 @@ statement must have been prepared first.</p>
<dl class="method">
<dt id="Cursor.callfunc">
<!--#Cursor.callfunc#--><tt class="descclassname">Cursor.</tt><tt class="descname">callfunc</tt><big>(</big><em>name</em>, <em>returnType</em><span class="optional">[</span>, <em>parameters=</em><span class="optional">[</span><span class="optional">]</span><span class="optional">]</span><big>)</big><a class="headerlink" href="#Cursor.callfunc" title="Permalink to this definition"></a></dt>
<dd>Call a function with the given name. The return type is specified in the
<dd><p>Call a function with the given name. The return type is specified in the
same notation as is required by setinputsizes(). The sequence of parameters
must contain one entry for each argument that the function expects. The
result of the call is the return value of the function.</dd></dl>
result of the call is the return value of the function.</p>
<div class="admonition note">
<p class="first admonition-title">Note</p>
<p class="last">The DB API definition does not define this method.</p>
</div>
</dd></dl>
<dl class="method">
<dt id="Cursor.callproc">
@ -396,7 +401,7 @@ automatically from the Python object passed in.</p>
</div>
<div class="footer">
&copy; Copyright 2008, Anthony Tuininga.
Last updated on May 22, 2008.
Last updated on May 23, 2008.
</div>
</body>
</html>

View File

@ -370,7 +370,7 @@
</div>
<div class="footer">
&copy; Copyright 2008, Anthony Tuininga.
Last updated on May 22, 2008.
Last updated on May 23, 2008.
</div>
</body>
</html>

View File

@ -127,7 +127,7 @@ for more information on the Python database API specification.</p>
</div>
<div class="footer">
&copy; Copyright 2008, Anthony Tuininga.
Last updated on May 22, 2008.
Last updated on May 23, 2008.
</div>
</body>
</html>

View File

@ -72,7 +72,7 @@
</div>
<div class="footer">
&copy; Copyright 2008, Anthony Tuininga.
Last updated on May 22, 2008.
Last updated on May 23, 2008.
</div>
</body>
</html>

View File

@ -70,7 +70,7 @@
</div>
<div class="footer">
&copy; Copyright 2008, Anthony Tuininga.
Last updated on May 22, 2008.
Last updated on May 23, 2008.
</div>
</body>
</html>

File diff suppressed because one or more lines are too long