1107 lines
42 KiB
HTML
1107 lines
42 KiB
HTML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
|
"DTD/xhtml1-transitional.dtd">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<head>
|
|
<title>__builtin__.int</title>
|
|
<link rel="stylesheet" href="epydoc.css" type="text/css"></link>
|
|
</head>
|
|
<body bgcolor="white" text="black" link="blue" vlink="#204080"
|
|
alink="#204080">
|
|
|
|
<!-- =========== START OF NAVBAR =========== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="center">
|
|
<th class="navbar"> <a class="navbar" href="mapnik-module.html">Home</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
|
|
<th class="navbar" width="100%"></th>
|
|
</tr>
|
|
</table>
|
|
<table width="100%" cellpadding="0" cellspacing="0">
|
|
<tr valign="top">
|
|
<td width="100%">
|
|
<font size="-1"><b class="breadcrumbs">
|
|
Module __builtin__ ::
|
|
Class int
|
|
</b></font></br>
|
|
</td>
|
|
<td><table cellpadding="0" cellspacing="0">
|
|
<tr><td align="right"><font size="-2">[show private | <a href="../public/__builtin__.int-class.html">hide private</a>]</font></td></tr>
|
|
<tr><td align="right"><font size="-2">[<a href="frames.html"target="_top">frames</a> | <a href="__builtin__.int-class.html" target="_top">no frames</a>]</font></td></tr>
|
|
</table></td>
|
|
</tr></table>
|
|
|
|
<!-- =========== START OF CLASS DESCRIPTION =========== -->
|
|
<h2 class="class">Type int</h2>
|
|
|
|
<pre class="base-tree">
|
|
<a href="__builtin__.object-class.html"><code>object</code></a> --+
|
|
|
|
|
<b>int</b>
|
|
</pre><br />
|
|
|
|
<dl><dt><b>Known Subclasses:</b></dt>
|
|
<dd>
|
|
<a href="None.enum-class.html"><code>enum</code></a></dd></dl>
|
|
|
|
<hr/>
|
|
|
|
<p>int(x[, base]) -> integer</p>
|
|
Convert a string or number to an integer, if possible. A floating
|
|
point argument will be truncated towards zero (this does not include a
|
|
string representation of a floating point number!) When converting a
|
|
string, use the optional base. It is an error to supply a base when
|
|
converting a non-string. If the argument is outside the integer range a
|
|
long object will be returned instead.
|
|
<hr/>
|
|
|
|
|
|
<!-- =========== START OF METHOD SUMMARY =========== -->
|
|
<table class="summary" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="summary">
|
|
<th colspan="2">Method Summary</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__abs__" class="summary-sig-name"><code>__abs__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__abs__() <==> abs(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__add__" class="summary-sig-name"><code>__add__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__add__(y) <==> x+y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__and__" class="summary-sig-name"><code>__and__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__and__(y) <==> x&y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__cmp__" class="summary-sig-name"><code>__cmp__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__cmp__(y) <==> cmp(x,y)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__coerce__" class="summary-sig-name"><code>__coerce__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__coerce__(y) <==> coerce(x, y)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__div__" class="summary-sig-name"><code>__div__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__div__(y) <==> x/y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__divmod__" class="summary-sig-name"><code>__divmod__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__divmod__(y) <==> xdivmod(x, y)y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__float__" class="summary-sig-name"><code>__float__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__float__() <==> float(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__floordiv__" class="summary-sig-name"><code>__floordiv__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__floordiv__(y) <==> x//y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__getattribute__" class="summary-sig-name"><code>__getattribute__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__getattribute__('name') <==> x.name</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><a name="__getnewargs__"></a><span class="summary-sig"><span class="summary-sig-name">__getnewargs__</span>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__hash__" class="summary-sig-name"><code>__hash__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__hash__() <==> hash(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__hex__" class="summary-sig-name"><code>__hex__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__hex__() <==> hex(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__int__" class="summary-sig-name"><code>__int__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__int__() <==> int(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__invert__" class="summary-sig-name"><code>__invert__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__invert__() <==> ~x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__long__" class="summary-sig-name"><code>__long__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__long__() <==> long(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__lshift__" class="summary-sig-name"><code>__lshift__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__lshift__(y) <==> x<<y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__mod__" class="summary-sig-name"><code>__mod__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__mod__(y) <==> x%y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__mul__" class="summary-sig-name"><code>__mul__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__mul__(y) <==> x*y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__neg__" class="summary-sig-name"><code>__neg__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__neg__() <==> -x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__new__" class="summary-sig-name"><code>__new__</code></a>(<span class=summary-sig-arg>T</span>,
|
|
<span class=summary-sig-arg>S</span>,
|
|
<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
T.__new__(S, ...) -> a new object with type S, a subtype of T</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__nonzero__" class="summary-sig-name"><code>__nonzero__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__nonzero__() <==> x != 0</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__oct__" class="summary-sig-name"><code>__oct__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__oct__() <==> oct(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__or__" class="summary-sig-name"><code>__or__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__or__(y) <==> x|y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__pos__" class="summary-sig-name"><code>__pos__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__pos__() <==> +x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__pow__" class="summary-sig-name"><code>__pow__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>,
|
|
<span class=summary-sig-arg>z</span>)</span></code>
|
|
<br />
|
|
x.__pow__(y[, z]) <==> pow(x, y[, z])</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__radd__" class="summary-sig-name"><code>__radd__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__radd__(y) <==> y+x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rand__" class="summary-sig-name"><code>__rand__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rand__(y) <==> y&x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rdiv__" class="summary-sig-name"><code>__rdiv__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rdiv__(y) <==> y/x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rdivmod__" class="summary-sig-name"><code>__rdivmod__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rdivmod__(y) <==> ydivmod(y, x)x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__repr__" class="summary-sig-name"><code>__repr__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__repr__() <==> repr(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rfloordiv__" class="summary-sig-name"><code>__rfloordiv__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rfloordiv__(y) <==> y//x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rlshift__" class="summary-sig-name"><code>__rlshift__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rlshift__(y) <==> y<<x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rmod__" class="summary-sig-name"><code>__rmod__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rmod__(y) <==> y%x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rmul__" class="summary-sig-name"><code>__rmul__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rmul__(y) <==> y*x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__ror__" class="summary-sig-name"><code>__ror__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__ror__(y) <==> y|x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rpow__" class="summary-sig-name"><code>__rpow__</code></a>(<span class=summary-sig-arg>y</span>,
|
|
<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>z</span>)</span></code>
|
|
<br />
|
|
y.__rpow__(x[, z]) <==> pow(x, y[, z])</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rrshift__" class="summary-sig-name"><code>__rrshift__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rrshift__(y) <==> y>>x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rshift__" class="summary-sig-name"><code>__rshift__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rshift__(y) <==> x>>y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rsub__" class="summary-sig-name"><code>__rsub__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rsub__(y) <==> y-x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rtruediv__" class="summary-sig-name"><code>__rtruediv__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rtruediv__(y) <==> y/x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__rxor__" class="summary-sig-name"><code>__rxor__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__rxor__(y) <==> y^x</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__str__" class="summary-sig-name"><code>__str__</code></a>(<span class=summary-sig-arg>x</span>)</span></code>
|
|
<br />
|
|
x.__str__() <==> str(x)</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__sub__" class="summary-sig-name"><code>__sub__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__sub__(y) <==> x-y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__truediv__" class="summary-sig-name"><code>__truediv__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__truediv__(y) <==> x/y</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.int-class.html#__xor__" class="summary-sig-name"><code>__xor__</code></a>(<span class=summary-sig-arg>x</span>,
|
|
<span class=summary-sig-arg>y</span>)</span></code>
|
|
<br />
|
|
x.__xor__(y) <==> x^y</td></tr>
|
|
<tr bgcolor="#e8f0f8" class="group">
|
|
<th colspan="2"> Inherited from object</th></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__init__" class="summary-sig-name"><code>__init__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__init__(...) initializes x; see x.__class__.__doc__ for
|
|
signature</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__delattr__" class="summary-sig-name"><code>__delattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__delattr__('name') <==> del x.name</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__reduce__" class="summary-sig-name"><code>__reduce__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
helper for pickle</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__reduce_ex__" class="summary-sig-name"><code>__reduce_ex__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
helper for pickle</td></tr>
|
|
<tr><td align="right" valign="top" width="15%"><font size="-1"> </font></td>
|
|
<td><code><span class="summary-sig"><a href="__builtin__.object-class.html#__setattr__" class="summary-sig-name"><code>__setattr__</code></a>(<span class="summary-sig-vararg">...</span>)</span></code>
|
|
<br />
|
|
x.__setattr__('name', value) <==> x.name = value</td></tr>
|
|
</table><br />
|
|
|
|
|
|
<!-- =========== START OF METHOD DETAILS =========== -->
|
|
<table class="details" border="1" cellpadding="3" cellspacing="0" width="100%" bgcolor="white">
|
|
<tr bgcolor="#70b0f0" class="details">
|
|
<th colspan="2">Method Details</th></tr>
|
|
</table>
|
|
|
|
<a name="__abs__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__abs__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__abs__() <==> abs(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
abs(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__add__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__add__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
<br /><i>(Addition operator)</i>
|
|
</h3>
|
|
x.__add__(y) <==> x+y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x+y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__and__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__and__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
<br /><i>(And operator)</i>
|
|
</h3>
|
|
x.__and__(y) <==> x&y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x&y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__cmp__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__cmp__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
<br /><i>(Comparison operator)</i>
|
|
</h3>
|
|
x.__cmp__(y) <==> cmp(x,y)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
cmp(x,y)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__coerce__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__coerce__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__coerce__(y) <==> coerce(x, y)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
coerce(x, y)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__div__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__div__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__div__(y) <==> x/y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x/y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__divmod__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__divmod__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__divmod__(y) <==> xdivmod(x, y)y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
xdivmod(x, y)y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__float__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__float__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__float__() <==> float(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
float(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__floordiv__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__floordiv__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__floordiv__(y) <==> x//y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x//y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__getattribute__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__getattribute__</span>(<span class="sig-vararg">...</span>)</span>
|
|
</h3>
|
|
x.__getattribute__('name') <==> x.name
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Overrides:</b></dt>
|
|
<dd><a href="__builtin__.object-class.html#__getattribute__"><code>__builtin__.object.__getattribute__</code></a></dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__hash__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__hash__</span>(<span class=sig-arg>x</span>)</span>
|
|
<br /><i>(Hashing function)</i>
|
|
</h3>
|
|
x.__hash__() <==> hash(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
hash(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Overrides:</b></dt>
|
|
<dd><a href="__builtin__.object-class.html#__hash__"><code>__builtin__.object.__hash__</code></a></dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__hex__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__hex__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__hex__() <==> hex(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
hex(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__int__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__int__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__int__() <==> int(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
int(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__invert__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__invert__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__invert__() <==> ~x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
~x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__long__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__long__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__long__() <==> long(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
long(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__lshift__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__lshift__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__lshift__(y) <==> x<<y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x<<y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__mod__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__mod__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__mod__(y) <==> x%y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x%y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__mul__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__mul__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__mul__(y) <==> x*y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x*y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__neg__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__neg__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__neg__() <==> -x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
-x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__new__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__new__</span>(<span class=sig-arg>T</span>,
|
|
<span class=sig-arg>S</span>,
|
|
<span class="sig-vararg">...</span>)</span>
|
|
</h3>
|
|
T.__new__(S, ...) -> a new object with type S, a subtype of T
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
a new object with type S, a subtype of T
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Overrides:</b></dt>
|
|
<dd><a href="__builtin__.object-class.html#__new__"><code>__builtin__.object.__new__</code></a></dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__nonzero__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__nonzero__</span>(<span class=sig-arg>x</span>)</span>
|
|
<br /><i>(Boolean test operator)</i>
|
|
</h3>
|
|
x.__nonzero__() <==> x != 0
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x != 0
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__oct__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__oct__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__oct__() <==> oct(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
oct(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__or__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__or__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
<br /><i>(Or operator)</i>
|
|
</h3>
|
|
x.__or__(y) <==> x|y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x|y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__pos__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__pos__</span>(<span class=sig-arg>x</span>)</span>
|
|
</h3>
|
|
x.__pos__() <==> +x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
+x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__pow__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__pow__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>,
|
|
<span class=sig-arg>z</span>=<span class=sig-default>...</span>)</span>
|
|
</h3>
|
|
x.__pow__(y[, z]) <==> pow(x, y[, z])
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
pow(x, y[, z])
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__radd__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__radd__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
<br /><i>(Right-side addition operator)</i>
|
|
</h3>
|
|
x.__radd__(y) <==> y+x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y+x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rand__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rand__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rand__(y) <==> y&x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y&x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rdiv__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rdiv__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rdiv__(y) <==> y/x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y/x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rdivmod__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rdivmod__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rdivmod__(y) <==> ydivmod(y, x)x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
ydivmod(y, x)x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__repr__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__repr__</span>(<span class=sig-arg>x</span>)</span>
|
|
<br /><i>(Representation operator)</i>
|
|
</h3>
|
|
x.__repr__() <==> repr(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
repr(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Overrides:</b></dt>
|
|
<dd><a href="__builtin__.object-class.html#__repr__"><code>__builtin__.object.__repr__</code></a></dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rfloordiv__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rfloordiv__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rfloordiv__(y) <==> y//x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y//x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rlshift__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rlshift__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rlshift__(y) <==> y<<x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y<<x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rmod__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rmod__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rmod__(y) <==> y%x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y%x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rmul__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rmul__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rmul__(y) <==> y*x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y*x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__ror__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__ror__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__ror__(y) <==> y|x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y|x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rpow__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rpow__</span>(<span class=sig-arg>y</span>,
|
|
<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>z</span>=<span class=sig-default>...</span>)</span>
|
|
</h3>
|
|
y.__rpow__(x[, z]) <==> pow(x, y[, z])
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
pow(x, y[, z])
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rrshift__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rrshift__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rrshift__(y) <==> y>>x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y>>x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rshift__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rshift__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rshift__(y) <==> x>>y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x>>y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rsub__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rsub__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rsub__(y) <==> y-x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y-x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rtruediv__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rtruediv__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rtruediv__(y) <==> y/x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y/x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__rxor__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__rxor__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__rxor__(y) <==> y^x
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
y^x
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__str__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__str__</span>(<span class=sig-arg>x</span>)</span>
|
|
<br /><i>(Informal representation operator)</i>
|
|
</h3>
|
|
x.__str__() <==> str(x)
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
str(x)
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
<dl><dt><b>Overrides:</b></dt>
|
|
<dd><a href="__builtin__.object-class.html#__str__"><code>__builtin__.object.__str__</code></a></dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__sub__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__sub__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
<br /><i>(Subtraction operator)</i>
|
|
</h3>
|
|
x.__sub__(y) <==> x-y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x-y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__truediv__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__truediv__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__truediv__(y) <==> x/y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x/y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
|
|
<a name="__xor__"></a>
|
|
<table width="100%" class="func-details" bgcolor="#e0e0e0"><tr><td>
|
|
<h3><span class="sig"><span class="sig-name">__xor__</span>(<span class=sig-arg>x</span>,
|
|
<span class=sig-arg>y</span>)</span>
|
|
</h3>
|
|
x.__xor__(y) <==> x^y
|
|
<dl><dt></dt><dd>
|
|
<dl><dt><b>Returns:</b></dt>
|
|
<dd>
|
|
<pre class="literalblock">
|
|
x^y
|
|
</pre>
|
|
</dd>
|
|
</dl>
|
|
</dd></dl>
|
|
</td></tr></table>
|
|
<br />
|
|
|
|
|
|
<!-- =========== START OF NAVBAR =========== -->
|
|
<table class="navbar" border="0" width="100%" cellpadding="0" bgcolor="#a0c0ff" cellspacing="0">
|
|
<tr valign="center">
|
|
<th class="navbar"> <a class="navbar" href="mapnik-module.html">Home</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="trees.html">Trees</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="indices.html">Index</a> </th>
|
|
<th class="navbar"> <a class="navbar" href="help.html">Help</a> </th>
|
|
<th class="navbar" width="100%"></th>
|
|
</tr>
|
|
</table>
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" width="100%">
|
|
<tr>
|
|
<td align="left"><font size="-2">Generated by Epydoc 2.1 on Wed Mar 22 21:13:59 2006</font></td>
|
|
<td align="right"><a href="http://epydoc.sourceforge.net"
|
|
><font size="-2">http://epydoc.sf.net</font></a></td>
|
|
</tr>
|
|
</table>
|
|
</body>
|
|
</html>
|