| 1 |
<html><head> |
|---|
| 2 |
<meta http-equiv="content-type" content="text/html; charset=utf-8"> |
|---|
| 3 |
<meta content="text/javascript" http-equiv="content-script-type"> |
|---|
| 4 |
<title>pyd.object</title> |
|---|
| 5 |
<link rel="stylesheet" type="text/css" href="candydoc/style.css"> |
|---|
| 6 |
<!--[if lt IE 7]><link rel="stylesheet" type="text/css" href="candydoc/ie56hack.css"><![endif]--> |
|---|
| 7 |
<script language="JavaScript" src="candydoc/util.js" type="text/javascript"></script> |
|---|
| 8 |
<script language="JavaScript" src="candydoc/tree.js" type="text/javascript"></script> |
|---|
| 9 |
<script language="JavaScript" src="candydoc/explorer.js" type="text/javascript"></script> |
|---|
| 10 |
</head><body> |
|---|
| 11 |
<div id="tabarea"></div><div id="explorerclient"></div> |
|---|
| 12 |
<div id="content"><script>explorer.initialize("pyd.object");</script> |
|---|
| 13 |
<table class="content"> |
|---|
| 14 |
<tr><td id="docbody"><h1>pyd.object</h1><!-- Generated by Ddoc from pyd\object.d --> |
|---|
| 15 |
<br><br> |
|---|
| 16 |
|
|---|
| 17 |
<script>explorer.outline.incSymbolLevel();</script> |
|---|
| 18 |
<dl> |
|---|
| 19 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 20 |
<dt><span class="decl">class |
|---|
| 21 |
<span class="currsymbol">DPyObject</span> |
|---|
| 22 |
<script>explorer.outline.addDecl('DPyObject');</script> |
|---|
| 23 |
|
|---|
| 24 |
; |
|---|
| 25 |
</span></dt> |
|---|
| 26 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 27 |
|
|---|
| 28 |
|
|---|
| 29 |
<dd>Wrapper class for a Python/C API PyObject. |
|---|
| 30 |
<br><br> |
|---|
| 31 |
Nearly all of these member functions may throw a PythonException if the |
|---|
| 32 |
underlying Python API raises a Python exception. |
|---|
| 33 |
|
|---|
| 34 |
<br><br> |
|---|
| 35 |
<b>Authors:</b><br> |
|---|
| 36 |
<a href="mailto:kirklin.mcdonald@gmail.com">Kirk McDonald</a> |
|---|
| 37 |
<br><br> |
|---|
| 38 |
<b>Date:</b><br> |
|---|
| 39 |
June 18, 2006 |
|---|
| 40 |
<br><br> |
|---|
| 41 |
<b>See Also:</b><br> |
|---|
| 42 |
<a href="http://docs.python.org/api/api.html">The Python/C API</a> |
|---|
| 43 |
|
|---|
| 44 |
<br><br> |
|---|
| 45 |
|
|---|
| 46 |
|
|---|
| 47 |
<script>explorer.outline.incSymbolLevel();</script> |
|---|
| 48 |
<dl> |
|---|
| 49 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 50 |
<dt><span class="decl">this(PyObject * <span class="funcparam">o</span>, bool <span class="funcparam">borrowed</span> = false); |
|---|
| 51 |
</span></dt> |
|---|
| 52 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 53 |
|
|---|
| 54 |
|
|---|
| 55 |
<dd>Wrap around a passed PyObject*. |
|---|
| 56 |
<br><br> |
|---|
| 57 |
<b>Params:</b><br> |
|---|
| 58 |
<table><tr> |
|---|
| 59 |
<td nowrap valign="top" style="padding-right: 8px">PyObject * <span class="funcparam">o</span></td> |
|---|
| 60 |
|
|---|
| 61 |
|
|---|
| 62 |
<td>The PyObject to wrap.</td></tr> |
|---|
| 63 |
<tr> |
|---|
| 64 |
<td nowrap valign="top" style="padding-right: 8px">bool <span class="funcparam">borrowed</span></td> |
|---|
| 65 |
|
|---|
| 66 |
|
|---|
| 67 |
<td>Whether <span class="funcparam">o</span> is a borrowed reference. Instances |
|---|
| 68 |
of DPyObject always own their references. |
|---|
| 69 |
Therefore, Py_INCREF will be called if <span class="funcparam">borrowed</span> is |
|---|
| 70 |
<font color=blue><b>true</b></font>.</td></tr> |
|---|
| 71 |
</table><br> |
|---|
| 72 |
|
|---|
| 73 |
</dd> |
|---|
| 74 |
|
|---|
| 75 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 76 |
<dt><span class="decl">this(); |
|---|
| 77 |
</span></dt> |
|---|
| 78 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 79 |
|
|---|
| 80 |
|
|---|
| 81 |
<dd>The default constructor constructs an instance of the Py_None DPyObject. |
|---|
| 82 |
<br><br> |
|---|
| 83 |
|
|---|
| 84 |
</dd> |
|---|
| 85 |
|
|---|
| 86 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 87 |
<dt><span class="decl">PyObject * |
|---|
| 88 |
<span class="currsymbol">ptr</span> |
|---|
| 89 |
<script>explorer.outline.addDecl('ptr');</script> |
|---|
| 90 |
|
|---|
| 91 |
(); |
|---|
| 92 |
</span></dt> |
|---|
| 93 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 94 |
|
|---|
| 95 |
|
|---|
| 96 |
<dd>Returns a borrowed reference to the PyObject. |
|---|
| 97 |
|
|---|
| 98 |
<br><br> |
|---|
| 99 |
|
|---|
| 100 |
</dd> |
|---|
| 101 |
|
|---|
| 102 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 103 |
<dt><span class="decl">bool |
|---|
| 104 |
<span class="currsymbol">hasattr</span> |
|---|
| 105 |
<script>explorer.outline.addDecl('hasattr');</script> |
|---|
| 106 |
|
|---|
| 107 |
(char[] <span class="funcparam">attr_name</span>); |
|---|
| 108 |
</span></dt> |
|---|
| 109 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 110 |
|
|---|
| 111 |
|
|---|
| 112 |
<dd>Same as hasattr(this, <span class="funcparam">attr_name</span>) in Python. |
|---|
| 113 |
<br><br> |
|---|
| 114 |
|
|---|
| 115 |
</dd> |
|---|
| 116 |
|
|---|
| 117 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 118 |
<dt><span class="decl">bool |
|---|
| 119 |
<span class="currsymbol">hasattr</span> |
|---|
| 120 |
<script>explorer.outline.addDecl('hasattr');</script> |
|---|
| 121 |
|
|---|
| 122 |
(DPyObject <span class="funcparam">attr_name</span>); |
|---|
| 123 |
</span></dt> |
|---|
| 124 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 125 |
|
|---|
| 126 |
|
|---|
| 127 |
<dd>Same as hasattr(this, <span class="funcparam">attr_name</span>) in Python. |
|---|
| 128 |
<br><br> |
|---|
| 129 |
|
|---|
| 130 |
</dd> |
|---|
| 131 |
|
|---|
| 132 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 133 |
<dt><span class="decl">DPyObject |
|---|
| 134 |
<span class="currsymbol">getattr</span> |
|---|
| 135 |
<script>explorer.outline.addDecl('getattr');</script> |
|---|
| 136 |
|
|---|
| 137 |
(char[] <span class="funcparam">attr_name</span>); |
|---|
| 138 |
</span></dt> |
|---|
| 139 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 140 |
|
|---|
| 141 |
|
|---|
| 142 |
<dd>Same as getattr(this, <span class="funcparam">attr_name</span>) in Python. |
|---|
| 143 |
<br><br> |
|---|
| 144 |
|
|---|
| 145 |
</dd> |
|---|
| 146 |
|
|---|
| 147 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 148 |
<dt><span class="decl">DPyObject |
|---|
| 149 |
<span class="currsymbol">getattr</span> |
|---|
| 150 |
<script>explorer.outline.addDecl('getattr');</script> |
|---|
| 151 |
|
|---|
| 152 |
(DPyObject <span class="funcparam">attr_name</span>); |
|---|
| 153 |
</span></dt> |
|---|
| 154 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 155 |
|
|---|
| 156 |
|
|---|
| 157 |
<dd>Same as getattr(this, <span class="funcparam">attr_name</span>) in Python. |
|---|
| 158 |
<br><br> |
|---|
| 159 |
|
|---|
| 160 |
</dd> |
|---|
| 161 |
|
|---|
| 162 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 163 |
<dt><span class="decl">void |
|---|
| 164 |
<span class="currsymbol">setattr</span> |
|---|
| 165 |
<script>explorer.outline.addDecl('setattr');</script> |
|---|
| 166 |
|
|---|
| 167 |
(char[] <span class="funcparam">attr_name</span>, DPyObject <span class="funcparam">v</span>); |
|---|
| 168 |
</span></dt> |
|---|
| 169 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 170 |
|
|---|
| 171 |
|
|---|
| 172 |
<dd>Same as setattr(this, <span class="funcparam">attr_name</span>, <span class="funcparam">v</span>) in Python. |
|---|
| 173 |
|
|---|
| 174 |
<br><br> |
|---|
| 175 |
|
|---|
| 176 |
</dd> |
|---|
| 177 |
|
|---|
| 178 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 179 |
<dt><span class="decl">void |
|---|
| 180 |
<span class="currsymbol">setattr</span> |
|---|
| 181 |
<script>explorer.outline.addDecl('setattr');</script> |
|---|
| 182 |
|
|---|
| 183 |
(DPyObject <span class="funcparam">attr_name</span>, DPyObject <span class="funcparam">v</span>); |
|---|
| 184 |
</span></dt> |
|---|
| 185 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 186 |
|
|---|
| 187 |
|
|---|
| 188 |
<dd>Same as setattr(this, <span class="funcparam">attr_name</span>, <span class="funcparam">v</span>) in Python. |
|---|
| 189 |
|
|---|
| 190 |
<br><br> |
|---|
| 191 |
|
|---|
| 192 |
</dd> |
|---|
| 193 |
|
|---|
| 194 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 195 |
<dt><span class="decl">void |
|---|
| 196 |
<span class="currsymbol">delattr</span> |
|---|
| 197 |
<script>explorer.outline.addDecl('delattr');</script> |
|---|
| 198 |
|
|---|
| 199 |
(char[] <span class="funcparam">attr_name</span>); |
|---|
| 200 |
</span></dt> |
|---|
| 201 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 202 |
|
|---|
| 203 |
|
|---|
| 204 |
<dd>Same as del this.<span class="funcparam">attr_name</span> in Python. |
|---|
| 205 |
|
|---|
| 206 |
<br><br> |
|---|
| 207 |
|
|---|
| 208 |
</dd> |
|---|
| 209 |
|
|---|
| 210 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 211 |
<dt><span class="decl">void |
|---|
| 212 |
<span class="currsymbol">delattr</span> |
|---|
| 213 |
<script>explorer.outline.addDecl('delattr');</script> |
|---|
| 214 |
|
|---|
| 215 |
(DPyObject <span class="funcparam">attr_name</span>); |
|---|
| 216 |
</span></dt> |
|---|
| 217 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 218 |
|
|---|
| 219 |
|
|---|
| 220 |
<dd>Same as del this.<span class="funcparam">attr_name</span> in Python. |
|---|
| 221 |
|
|---|
| 222 |
<br><br> |
|---|
| 223 |
|
|---|
| 224 |
</dd> |
|---|
| 225 |
|
|---|
| 226 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 227 |
<dt><span class="decl">int |
|---|
| 228 |
<span class="currsymbol">opCmp</span> |
|---|
| 229 |
<script>explorer.outline.addDecl('opCmp');</script> |
|---|
| 230 |
|
|---|
| 231 |
(DPyObject <span class="funcparam">rhs</span>); |
|---|
| 232 |
</span></dt> |
|---|
| 233 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 234 |
|
|---|
| 235 |
|
|---|
| 236 |
<dd>Exposes Python object comparison to D. Same as cmp(this, <span class="funcparam">rhs</span>) in Python. |
|---|
| 237 |
|
|---|
| 238 |
<br><br> |
|---|
| 239 |
|
|---|
| 240 |
</dd> |
|---|
| 241 |
|
|---|
| 242 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 243 |
<dt><span class="decl">bool |
|---|
| 244 |
<span class="currsymbol">opEquals</span> |
|---|
| 245 |
<script>explorer.outline.addDecl('opEquals');</script> |
|---|
| 246 |
|
|---|
| 247 |
(DPyObject <span class="funcparam">rhs</span>); |
|---|
| 248 |
</span></dt> |
|---|
| 249 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 250 |
|
|---|
| 251 |
|
|---|
| 252 |
<dd>Exposes Python object equality check to D. |
|---|
| 253 |
|
|---|
| 254 |
<br><br> |
|---|
| 255 |
|
|---|
| 256 |
</dd> |
|---|
| 257 |
|
|---|
| 258 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 259 |
<dt><span class="decl">DPyObject |
|---|
| 260 |
<span class="currsymbol">repr</span> |
|---|
| 261 |
<script>explorer.outline.addDecl('repr');</script> |
|---|
| 262 |
|
|---|
| 263 |
(); |
|---|
| 264 |
</span></dt> |
|---|
| 265 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 266 |
|
|---|
| 267 |
|
|---|
| 268 |
<dd>Same as repr(this) in Python. |
|---|
| 269 |
<br><br> |
|---|
| 270 |
|
|---|
| 271 |
</dd> |
|---|
| 272 |
|
|---|
| 273 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 274 |
<dt><span class="decl">DPyObject |
|---|
| 275 |
<span class="currsymbol">str</span> |
|---|
| 276 |
<script>explorer.outline.addDecl('str');</script> |
|---|
| 277 |
|
|---|
| 278 |
(); |
|---|
| 279 |
</span></dt> |
|---|
| 280 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 281 |
|
|---|
| 282 |
|
|---|
| 283 |
<dd>Same as str(this) in Python. |
|---|
| 284 |
<br><br> |
|---|
| 285 |
|
|---|
| 286 |
</dd> |
|---|
| 287 |
|
|---|
| 288 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 289 |
<dt><span class="decl">char[] |
|---|
| 290 |
<span class="currsymbol">toString</span> |
|---|
| 291 |
<script>explorer.outline.addDecl('toString');</script> |
|---|
| 292 |
|
|---|
| 293 |
(); |
|---|
| 294 |
</span></dt> |
|---|
| 295 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 296 |
|
|---|
| 297 |
|
|---|
| 298 |
<dd>Allows use of DPyObject in writef via %s |
|---|
| 299 |
<br><br> |
|---|
| 300 |
|
|---|
| 301 |
</dd> |
|---|
| 302 |
|
|---|
| 303 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 304 |
<dt><span class="decl">DPyObject |
|---|
| 305 |
<span class="currsymbol">unicode</span> |
|---|
| 306 |
<script>explorer.outline.addDecl('unicode');</script> |
|---|
| 307 |
|
|---|
| 308 |
(); |
|---|
| 309 |
</span></dt> |
|---|
| 310 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 311 |
|
|---|
| 312 |
|
|---|
| 313 |
<dd>Same as unicode(this) in Python. |
|---|
| 314 |
<br><br> |
|---|
| 315 |
|
|---|
| 316 |
</dd> |
|---|
| 317 |
|
|---|
| 318 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 319 |
<dt><span class="decl">bool |
|---|
| 320 |
<span class="currsymbol">isInstance</span> |
|---|
| 321 |
<script>explorer.outline.addDecl('isInstance');</script> |
|---|
| 322 |
|
|---|
| 323 |
(DPyObject <span class="funcparam">cls</span>); |
|---|
| 324 |
</span></dt> |
|---|
| 325 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 326 |
|
|---|
| 327 |
|
|---|
| 328 |
<dd>Same as isinstance(this, <span class="funcparam">cls</span>) in Python. |
|---|
| 329 |
<br><br> |
|---|
| 330 |
|
|---|
| 331 |
</dd> |
|---|
| 332 |
|
|---|
| 333 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 334 |
<dt><span class="decl">bool |
|---|
| 335 |
<span class="currsymbol">isSubclass</span> |
|---|
| 336 |
<script>explorer.outline.addDecl('isSubclass');</script> |
|---|
| 337 |
|
|---|
| 338 |
(DPyObject <span class="funcparam">cls</span>); |
|---|
| 339 |
</span></dt> |
|---|
| 340 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 341 |
|
|---|
| 342 |
|
|---|
| 343 |
<dd>Same as issubclass(this, <span class="funcparam">cls</span>) in Python. Only works if this is a class. |
|---|
| 344 |
<br><br> |
|---|
| 345 |
|
|---|
| 346 |
</dd> |
|---|
| 347 |
|
|---|
| 348 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 349 |
<dt><span class="decl">bool |
|---|
| 350 |
<span class="currsymbol">callable</span> |
|---|
| 351 |
<script>explorer.outline.addDecl('callable');</script> |
|---|
| 352 |
|
|---|
| 353 |
(); |
|---|
| 354 |
</span></dt> |
|---|
| 355 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 356 |
|
|---|
| 357 |
|
|---|
| 358 |
<dd>Same as callable(this) in Python. |
|---|
| 359 |
<br><br> |
|---|
| 360 |
|
|---|
| 361 |
</dd> |
|---|
| 362 |
|
|---|
| 363 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 364 |
<dt><span class="decl">DPyObject |
|---|
| 365 |
<span class="currsymbol">opCall</span> |
|---|
| 366 |
<script>explorer.outline.addDecl('opCall');</script> |
|---|
| 367 |
|
|---|
| 368 |
(DPyObject <span class="funcparam">args</span> = cast(DPyObject)null); |
|---|
| 369 |
</span></dt> |
|---|
| 370 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 371 |
|
|---|
| 372 |
|
|---|
| 373 |
<dd>Calls the DPyObject. |
|---|
| 374 |
<br><br> |
|---|
| 375 |
<b>Params:</b><br> |
|---|
| 376 |
<table><tr> |
|---|
| 377 |
<td nowrap valign="top" style="padding-right: 8px">DPyObject <span class="funcparam">args</span></td> |
|---|
| 378 |
|
|---|
| 379 |
|
|---|
| 380 |
<td>Should be a DPyTuple of the arguments to pass. Omit to |
|---|
| 381 |
call with no arguments.</td></tr> |
|---|
| 382 |
</table><br> |
|---|
| 383 |
<b>Returns:</b><br> |
|---|
| 384 |
Whatever the function DPyObject returns. |
|---|
| 385 |
|
|---|
| 386 |
<br><br> |
|---|
| 387 |
|
|---|
| 388 |
</dd> |
|---|
| 389 |
|
|---|
| 390 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 391 |
<dt><span class="decl">DPyObject |
|---|
| 392 |
<span class="currsymbol">opCall</span> |
|---|
| 393 |
<script>explorer.outline.addDecl('opCall');</script> |
|---|
| 394 |
|
|---|
| 395 |
(DPyObject <span class="funcparam">args</span>, DPyObject <span class="funcparam">kw</span>); |
|---|
| 396 |
</span></dt> |
|---|
| 397 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 398 |
|
|---|
| 399 |
|
|---|
| 400 |
<dd>Calls the DPyObject with positional and keyword arguments. |
|---|
| 401 |
<br><br> |
|---|
| 402 |
<b>Params:</b><br> |
|---|
| 403 |
<table><tr> |
|---|
| 404 |
<td nowrap valign="top" style="padding-right: 8px">DPyObject <span class="funcparam">args</span></td> |
|---|
| 405 |
|
|---|
| 406 |
|
|---|
| 407 |
<td>Positional arguments. Should be a DPyTuple. Pass an empty |
|---|
| 408 |
DPyTuple for no positional arguments.</td></tr> |
|---|
| 409 |
<tr> |
|---|
| 410 |
<td nowrap valign="top" style="padding-right: 8px">DPyObject <span class="funcparam">kw</span></td> |
|---|
| 411 |
|
|---|
| 412 |
|
|---|
| 413 |
<td>Keyword arguments. Should be a DPyDict.</td></tr> |
|---|
| 414 |
</table><br> |
|---|
| 415 |
<b>Returns:</b><br> |
|---|
| 416 |
Whatever the function DPyObject returns. |
|---|
| 417 |
|
|---|
| 418 |
<br><br> |
|---|
| 419 |
|
|---|
| 420 |
</dd> |
|---|
| 421 |
|
|---|
| 422 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 423 |
<dt><span class="decl">DPyObject |
|---|
| 424 |
<span class="currsymbol">method</span> |
|---|
| 425 |
<script>explorer.outline.addDecl('method');</script> |
|---|
| 426 |
|
|---|
| 427 |
(char[] <span class="funcparam">name</span>, DPyObject <span class="funcparam">args</span> = cast(DPyObject)null); |
|---|
| 428 |
</span></dt> |
|---|
| 429 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 430 |
|
|---|
| 431 |
|
|---|
| 432 |
<dd><br><br> |
|---|
| 433 |
</dd> |
|---|
| 434 |
|
|---|
| 435 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 436 |
<dt><span class="decl">int |
|---|
| 437 |
<span class="currsymbol">hash</span> |
|---|
| 438 |
<script>explorer.outline.addDecl('hash');</script> |
|---|
| 439 |
|
|---|
| 440 |
(); |
|---|
| 441 |
</span></dt> |
|---|
| 442 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 443 |
|
|---|
| 444 |
|
|---|
| 445 |
<dd>Same as hash(this) in Python. |
|---|
| 446 |
<br><br> |
|---|
| 447 |
|
|---|
| 448 |
</dd> |
|---|
| 449 |
|
|---|
| 450 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 451 |
<dt><span class="decl">bool |
|---|
| 452 |
<span class="currsymbol">toBool</span> |
|---|
| 453 |
<script>explorer.outline.addDecl('toBool');</script> |
|---|
| 454 |
|
|---|
| 455 |
(); |
|---|
| 456 |
</span></dt> |
|---|
| 457 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 458 |
|
|---|
| 459 |
|
|---|
| 460 |
<dd>Same as "not not this" in Python. |
|---|
| 461 |
<br><br> |
|---|
| 462 |
|
|---|
| 463 |
</dd> |
|---|
| 464 |
|
|---|
| 465 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 466 |
<dt><span class="decl">bool |
|---|
| 467 |
<span class="currsymbol">not</span> |
|---|
| 468 |
<script>explorer.outline.addDecl('not');</script> |
|---|
| 469 |
|
|---|
| 470 |
(); |
|---|
| 471 |
</span></dt> |
|---|
| 472 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 473 |
|
|---|
| 474 |
|
|---|
| 475 |
<dd>Same as "not this" in Python. |
|---|
| 476 |
<br><br> |
|---|
| 477 |
|
|---|
| 478 |
</dd> |
|---|
| 479 |
|
|---|
| 480 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 481 |
<dt><span class="decl">DPyObject |
|---|
| 482 |
<span class="currsymbol">type</span> |
|---|
| 483 |
<script>explorer.outline.addDecl('type');</script> |
|---|
| 484 |
|
|---|
| 485 |
(); |
|---|
| 486 |
</span></dt> |
|---|
| 487 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 488 |
|
|---|
| 489 |
|
|---|
| 490 |
<dd>Gets the type of this DPyObject. Same as type(this) in Python. |
|---|
| 491 |
<br><br> |
|---|
| 492 |
<b>Returns:</b><br> |
|---|
| 493 |
The type DPyObject of this DPyObject. |
|---|
| 494 |
|
|---|
| 495 |
<br><br> |
|---|
| 496 |
|
|---|
| 497 |
</dd> |
|---|
| 498 |
|
|---|
| 499 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 500 |
<dt><span class="decl">int |
|---|
| 501 |
<span class="currsymbol">length</span> |
|---|
| 502 |
<script>explorer.outline.addDecl('length');</script> |
|---|
| 503 |
|
|---|
| 504 |
(); |
|---|
| 505 |
</span></dt> |
|---|
| 506 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 507 |
|
|---|
| 508 |
|
|---|
| 509 |
<dd>The length of this DPyObject. Same as len(this) in Python. |
|---|
| 510 |
|
|---|
| 511 |
<br><br> |
|---|
| 512 |
|
|---|
| 513 |
</dd> |
|---|
| 514 |
|
|---|
| 515 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 516 |
<dt><span class="decl">int |
|---|
| 517 |
<span class="currsymbol">size</span> |
|---|
| 518 |
<script>explorer.outline.addDecl('size');</script> |
|---|
| 519 |
|
|---|
| 520 |
(); |
|---|
| 521 |
</span></dt> |
|---|
| 522 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 523 |
|
|---|
| 524 |
|
|---|
| 525 |
<dd>Same as length() |
|---|
| 526 |
<br><br> |
|---|
| 527 |
|
|---|
| 528 |
</dd> |
|---|
| 529 |
|
|---|
| 530 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 531 |
<dt><span class="decl">DPyObject |
|---|
| 532 |
<span class="currsymbol">dir</span> |
|---|
| 533 |
<script>explorer.outline.addDecl('dir');</script> |
|---|
| 534 |
|
|---|
| 535 |
(); |
|---|
| 536 |
</span></dt> |
|---|
| 537 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 538 |
|
|---|
| 539 |
|
|---|
| 540 |
<dd>Same as dir(this) in Python. |
|---|
| 541 |
<br><br> |
|---|
| 542 |
|
|---|
| 543 |
</dd> |
|---|
| 544 |
|
|---|
| 545 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 546 |
<dt><span class="decl">DPyObject |
|---|
| 547 |
<span class="currsymbol">opIndex</span> |
|---|
| 548 |
<script>explorer.outline.addDecl('opIndex');</script> |
|---|
| 549 |
|
|---|
| 550 |
(DPyObject <span class="funcparam">key</span>); |
|---|
| 551 |
</span></dt> |
|---|
| 552 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 553 |
|
|---|
| 554 |
|
|---|
| 555 |
<dd>Equivalent to o[key] in Python. |
|---|
| 556 |
<br><br> |
|---|
| 557 |
|
|---|
| 558 |
</dd> |
|---|
| 559 |
|
|---|
| 560 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 561 |
<dt><span class="decl">DPyObject |
|---|
| 562 |
<span class="currsymbol">opIndex</span> |
|---|
| 563 |
<script>explorer.outline.addDecl('opIndex');</script> |
|---|
| 564 |
|
|---|
| 565 |
(char[] <span class="funcparam">key</span>); |
|---|
| 566 |
</span></dt> |
|---|
| 567 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 568 |
|
|---|
| 569 |
|
|---|
| 570 |
<dd>Equivalent to o['key'] in Python; usually only makes sense for |
|---|
| 571 |
mappings. |
|---|
| 572 |
|
|---|
| 573 |
<br><br> |
|---|
| 574 |
|
|---|
| 575 |
</dd> |
|---|
| 576 |
|
|---|
| 577 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 578 |
<dt><span class="decl">DPyObject |
|---|
| 579 |
<span class="currsymbol">opIndex</span> |
|---|
| 580 |
<script>explorer.outline.addDecl('opIndex');</script> |
|---|
| 581 |
|
|---|
| 582 |
(int <span class="funcparam">i</span>); |
|---|
| 583 |
</span></dt> |
|---|
| 584 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 585 |
|
|---|
| 586 |
|
|---|
| 587 |
<dd>Equivalent to o[i] in Python; usually only makes sense for sequences. |
|---|
| 588 |
<br><br> |
|---|
| 589 |
|
|---|
| 590 |
</dd> |
|---|
| 591 |
|
|---|
| 592 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 593 |
<dt><span class="decl">void |
|---|
| 594 |
<span class="currsymbol">opIndexAssign</span> |
|---|
| 595 |
<script>explorer.outline.addDecl('opIndexAssign');</script> |
|---|
| 596 |
|
|---|
| 597 |
(DPyObject <span class="funcparam">value</span>, DPyObject <span class="funcparam">key</span>); |
|---|
| 598 |
</span></dt> |
|---|
| 599 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 600 |
|
|---|
| 601 |
|
|---|
| 602 |
<dd>Equivalent to o[key] = value in Python. |
|---|
| 603 |
<br><br> |
|---|
| 604 |
|
|---|
| 605 |
</dd> |
|---|
| 606 |
|
|---|
| 607 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 608 |
<dt><span class="decl">void |
|---|
| 609 |
<span class="currsymbol">opIndexAssign</span> |
|---|
| 610 |
<script>explorer.outline.addDecl('opIndexAssign');</script> |
|---|
| 611 |
|
|---|
| 612 |
(DPyObject <span class="funcparam">value</span>, char[] <span class="funcparam">key</span>); |
|---|
| 613 |
</span></dt> |
|---|
| 614 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 615 |
|
|---|
| 616 |
|
|---|
| 617 |
<dd>Equivalent to o['key'] = value in Python. Usually only makes sense for |
|---|
| 618 |
mappings. |
|---|
| 619 |
|
|---|
| 620 |
<br><br> |
|---|
| 621 |
|
|---|
| 622 |
</dd> |
|---|
| 623 |
|
|---|
| 624 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 625 |
<dt><span class="decl">void |
|---|
| 626 |
<span class="currsymbol">opIndexAssign</span> |
|---|
| 627 |
<script>explorer.outline.addDecl('opIndexAssign');</script> |
|---|
| 628 |
|
|---|
| 629 |
(DPyObject <span class="funcparam">value</span>, int <span class="funcparam">i</span>); |
|---|
| 630 |
</span></dt> |
|---|
| 631 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 632 |
|
|---|
| 633 |
|
|---|
| 634 |
<dd>Equivalent to o[i] = value in Python. Usually only makes sense for |
|---|
| 635 |
sequences. |
|---|
| 636 |
|
|---|
| 637 |
<br><br> |
|---|
| 638 |
|
|---|
| 639 |
</dd> |
|---|
| 640 |
|
|---|
| 641 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 642 |
<dt><span class="decl">void |
|---|
| 643 |
<span class="currsymbol">delItem</span> |
|---|
| 644 |
<script>explorer.outline.addDecl('delItem');</script> |
|---|
| 645 |
|
|---|
| 646 |
(DPyObject <span class="funcparam">key</span>); |
|---|
| 647 |
</span></dt> |
|---|
| 648 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 649 |
|
|---|
| 650 |
|
|---|
| 651 |
<dd>Equivalent to del o[key] in Python. |
|---|
| 652 |
<br><br> |
|---|
| 653 |
|
|---|
| 654 |
</dd> |
|---|
| 655 |
|
|---|
| 656 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 657 |
<dt><span class="decl">void |
|---|
| 658 |
<span class="currsymbol">delItem</span> |
|---|
| 659 |
<script>explorer.outline.addDecl('delItem');</script> |
|---|
| 660 |
|
|---|
| 661 |
(char[] <span class="funcparam">key</span>); |
|---|
| 662 |
</span></dt> |
|---|
| 663 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 664 |
|
|---|
| 665 |
|
|---|
| 666 |
<dd>Equivalent to del o['key'] in Python. Usually only makes sense for |
|---|
| 667 |
mappings. |
|---|
| 668 |
|
|---|
| 669 |
<br><br> |
|---|
| 670 |
|
|---|
| 671 |
</dd> |
|---|
| 672 |
|
|---|
| 673 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 674 |
<dt><span class="decl">void |
|---|
| 675 |
<span class="currsymbol">delItem</span> |
|---|
| 676 |
<script>explorer.outline.addDecl('delItem');</script> |
|---|
| 677 |
|
|---|
| 678 |
(int <span class="funcparam">i</span>); |
|---|
| 679 |
</span></dt> |
|---|
| 680 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 681 |
|
|---|
| 682 |
|
|---|
| 683 |
<dd>Equivalent to del o[i] in Python. Usually only makes sense for |
|---|
| 684 |
sequences. |
|---|
| 685 |
|
|---|
| 686 |
<br><br> |
|---|
| 687 |
|
|---|
| 688 |
</dd> |
|---|
| 689 |
|
|---|
| 690 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 691 |
<dt><span class="decl">DPyObject |
|---|
| 692 |
<span class="currsymbol">opSlice</span> |
|---|
| 693 |
<script>explorer.outline.addDecl('opSlice');</script> |
|---|
| 694 |
|
|---|
| 695 |
(int <span class="funcparam">i1</span>, int <span class="funcparam">i2</span>); |
|---|
| 696 |
</span></dt> |
|---|
| 697 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 698 |
|
|---|
| 699 |
|
|---|
| 700 |
<dd>Equivalent to o[i1:i2] in Python. |
|---|
| 701 |
<br><br> |
|---|
| 702 |
|
|---|
| 703 |
</dd> |
|---|
| 704 |
|
|---|
| 705 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 706 |
<dt><span class="decl">DPyObject |
|---|
| 707 |
<span class="currsymbol">opSlice</span> |
|---|
| 708 |
<script>explorer.outline.addDecl('opSlice');</script> |
|---|
| 709 |
|
|---|
| 710 |
(); |
|---|
| 711 |
</span></dt> |
|---|
| 712 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 713 |
|
|---|
| 714 |
|
|---|
| 715 |
<dd>Equivalent to o[:] in Python. |
|---|
| 716 |
<br><br> |
|---|
| 717 |
|
|---|
| 718 |
</dd> |
|---|
| 719 |
|
|---|
| 720 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 721 |
<dt><span class="decl">void |
|---|
| 722 |
<span class="currsymbol">opSliceAssign</span> |
|---|
| 723 |
<script>explorer.outline.addDecl('opSliceAssign');</script> |
|---|
| 724 |
|
|---|
| 725 |
(DPyObject <span class="funcparam">v</span>, int <span class="funcparam">i1</span>, int <span class="funcparam">i2</span>); |
|---|
| 726 |
</span></dt> |
|---|
| 727 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 728 |
|
|---|
| 729 |
|
|---|
| 730 |
<dd>Equivalent to o[i1:i2] = v in Python. |
|---|
| 731 |
<br><br> |
|---|
| 732 |
|
|---|
| 733 |
</dd> |
|---|
| 734 |
|
|---|
| 735 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 736 |
<dt><span class="decl">void |
|---|
| 737 |
<span class="currsymbol">opSliceAssign</span> |
|---|
| 738 |
<script>explorer.outline.addDecl('opSliceAssign');</script> |
|---|
| 739 |
|
|---|
| 740 |
(DPyObject <span class="funcparam">v</span>); |
|---|
| 741 |
</span></dt> |
|---|
| 742 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 743 |
|
|---|
| 744 |
|
|---|
| 745 |
<dd>Equivalent to o[:] = v in Python. |
|---|
| 746 |
<br><br> |
|---|
| 747 |
|
|---|
| 748 |
</dd> |
|---|
| 749 |
|
|---|
| 750 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 751 |
<dt><span class="decl">void |
|---|
| 752 |
<span class="currsymbol">delSlice</span> |
|---|
| 753 |
<script>explorer.outline.addDecl('delSlice');</script> |
|---|
| 754 |
|
|---|
| 755 |
(int <span class="funcparam">i1</span>, int <span class="funcparam">i2</span>); |
|---|
| 756 |
</span></dt> |
|---|
| 757 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 758 |
|
|---|
| 759 |
|
|---|
| 760 |
<dd>Equivalent to del o[i1:i2] in Python. |
|---|
| 761 |
<br><br> |
|---|
| 762 |
|
|---|
| 763 |
</dd> |
|---|
| 764 |
|
|---|
| 765 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 766 |
<dt><span class="decl">void |
|---|
| 767 |
<span class="currsymbol">delSlice</span> |
|---|
| 768 |
<script>explorer.outline.addDecl('delSlice');</script> |
|---|
| 769 |
|
|---|
| 770 |
(); |
|---|
| 771 |
</span></dt> |
|---|
| 772 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 773 |
|
|---|
| 774 |
|
|---|
| 775 |
<dd>Equivalent to del o[:] in Python. |
|---|
| 776 |
<br><br> |
|---|
| 777 |
|
|---|
| 778 |
</dd> |
|---|
| 779 |
|
|---|
| 780 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 781 |
<dt><span class="decl">int |
|---|
| 782 |
<span class="currsymbol">opApply</span> |
|---|
| 783 |
<script>explorer.outline.addDecl('opApply');</script> |
|---|
| 784 |
|
|---|
| 785 |
(int delegate(inout DPyObject) <span class="funcparam">dg</span>); |
|---|
| 786 |
</span></dt> |
|---|
| 787 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 788 |
|
|---|
| 789 |
|
|---|
| 790 |
<dd>Iterates over the items in a collection, be they the items in a |
|---|
| 791 |
sequence, keys in a dictionary, or some other iteration defined for the |
|---|
| 792 |
DPyObject's type. |
|---|
| 793 |
|
|---|
| 794 |
<br><br> |
|---|
| 795 |
|
|---|
| 796 |
</dd> |
|---|
| 797 |
|
|---|
| 798 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 799 |
<dt><span class="decl">int |
|---|
| 800 |
<span class="currsymbol">opApply</span> |
|---|
| 801 |
<script>explorer.outline.addDecl('opApply');</script> |
|---|
| 802 |
|
|---|
| 803 |
(int delegate(inout DPyObject, inout DPyObject) <span class="funcparam">dg</span>); |
|---|
| 804 |
</span></dt> |
|---|
| 805 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 806 |
|
|---|
| 807 |
|
|---|
| 808 |
<dd>Iterate over (key, value) pairs in a dictionary. If the DPyObject is not |
|---|
| 809 |
a dict, this simply does nothing. (It iterates over no items.) You |
|---|
| 810 |
should not attempt to modify the dictionary while iterating through it, |
|---|
| 811 |
with the exception of modifying values. Adding or removing items while |
|---|
| 812 |
iterating through it is an especially bad idea. |
|---|
| 813 |
|
|---|
| 814 |
<br><br> |
|---|
| 815 |
|
|---|
| 816 |
</dd> |
|---|
| 817 |
|
|---|
| 818 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 819 |
<dt><span class="decl">DPyObject |
|---|
| 820 |
<span class="currsymbol">opAdd</span> |
|---|
| 821 |
<script>explorer.outline.addDecl('opAdd');</script> |
|---|
| 822 |
|
|---|
| 823 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 824 |
</span></dt> |
|---|
| 825 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 826 |
|
|---|
| 827 |
|
|---|
| 828 |
<dd><br><br> |
|---|
| 829 |
</dd> |
|---|
| 830 |
|
|---|
| 831 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 832 |
<dt><span class="decl">DPyObject |
|---|
| 833 |
<span class="currsymbol">opSub</span> |
|---|
| 834 |
<script>explorer.outline.addDecl('opSub');</script> |
|---|
| 835 |
|
|---|
| 836 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 837 |
</span></dt> |
|---|
| 838 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 839 |
|
|---|
| 840 |
|
|---|
| 841 |
<dd><br><br> |
|---|
| 842 |
</dd> |
|---|
| 843 |
|
|---|
| 844 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 845 |
<dt><span class="decl">DPyObject |
|---|
| 846 |
<span class="currsymbol">opMul</span> |
|---|
| 847 |
<script>explorer.outline.addDecl('opMul');</script> |
|---|
| 848 |
|
|---|
| 849 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 850 |
</span></dt> |
|---|
| 851 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 852 |
|
|---|
| 853 |
|
|---|
| 854 |
<dd><br><br> |
|---|
| 855 |
</dd> |
|---|
| 856 |
|
|---|
| 857 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 858 |
<dt><span class="decl">DPyObject |
|---|
| 859 |
<span class="currsymbol">opMul</span> |
|---|
| 860 |
<script>explorer.outline.addDecl('opMul');</script> |
|---|
| 861 |
|
|---|
| 862 |
(int <span class="funcparam">count</span>); |
|---|
| 863 |
</span></dt> |
|---|
| 864 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 865 |
|
|---|
| 866 |
|
|---|
| 867 |
<dd>Sequence repetition |
|---|
| 868 |
<br><br> |
|---|
| 869 |
|
|---|
| 870 |
</dd> |
|---|
| 871 |
|
|---|
| 872 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 873 |
<dt><span class="decl">DPyObject |
|---|
| 874 |
<span class="currsymbol">opDiv</span> |
|---|
| 875 |
<script>explorer.outline.addDecl('opDiv');</script> |
|---|
| 876 |
|
|---|
| 877 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 878 |
</span></dt> |
|---|
| 879 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 880 |
|
|---|
| 881 |
|
|---|
| 882 |
<dd><br><br> |
|---|
| 883 |
</dd> |
|---|
| 884 |
|
|---|
| 885 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 886 |
<dt><span class="decl">DPyObject |
|---|
| 887 |
<span class="currsymbol">floorDiv</span> |
|---|
| 888 |
<script>explorer.outline.addDecl('floorDiv');</script> |
|---|
| 889 |
|
|---|
| 890 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 891 |
</span></dt> |
|---|
| 892 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 893 |
|
|---|
| 894 |
|
|---|
| 895 |
<dd><br><br> |
|---|
| 896 |
</dd> |
|---|
| 897 |
|
|---|
| 898 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 899 |
<dt><span class="decl">DPyObject |
|---|
| 900 |
<span class="currsymbol">opMod</span> |
|---|
| 901 |
<script>explorer.outline.addDecl('opMod');</script> |
|---|
| 902 |
|
|---|
| 903 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 904 |
</span></dt> |
|---|
| 905 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 906 |
|
|---|
| 907 |
|
|---|
| 908 |
<dd><br><br> |
|---|
| 909 |
</dd> |
|---|
| 910 |
|
|---|
| 911 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 912 |
<dt><span class="decl">DPyObject |
|---|
| 913 |
<span class="currsymbol">divmod</span> |
|---|
| 914 |
<script>explorer.outline.addDecl('divmod');</script> |
|---|
| 915 |
|
|---|
| 916 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 917 |
</span></dt> |
|---|
| 918 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 919 |
|
|---|
| 920 |
|
|---|
| 921 |
<dd><br><br> |
|---|
| 922 |
</dd> |
|---|
| 923 |
|
|---|
| 924 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 925 |
<dt><span class="decl">DPyObject |
|---|
| 926 |
<span class="currsymbol">pow</span> |
|---|
| 927 |
<script>explorer.outline.addDecl('pow');</script> |
|---|
| 928 |
|
|---|
| 929 |
(DPyObject <span class="funcparam">o1</span>, DPyObject <span class="funcparam">o2</span> = cast(DPyObject)null); |
|---|
| 930 |
</span></dt> |
|---|
| 931 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 932 |
|
|---|
| 933 |
|
|---|
| 934 |
<dd><br><br> |
|---|
| 935 |
</dd> |
|---|
| 936 |
|
|---|
| 937 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 938 |
<dt><span class="decl">DPyObject |
|---|
| 939 |
<span class="currsymbol">opPos</span> |
|---|
| 940 |
<script>explorer.outline.addDecl('opPos');</script> |
|---|
| 941 |
|
|---|
| 942 |
(); |
|---|
| 943 |
</span></dt> |
|---|
| 944 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 945 |
|
|---|
| 946 |
|
|---|
| 947 |
<dd><br><br> |
|---|
| 948 |
</dd> |
|---|
| 949 |
|
|---|
| 950 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 951 |
<dt><span class="decl">DPyObject |
|---|
| 952 |
<span class="currsymbol">opNeg</span> |
|---|
| 953 |
<script>explorer.outline.addDecl('opNeg');</script> |
|---|
| 954 |
|
|---|
| 955 |
(); |
|---|
| 956 |
</span></dt> |
|---|
| 957 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 958 |
|
|---|
| 959 |
|
|---|
| 960 |
<dd><br><br> |
|---|
| 961 |
</dd> |
|---|
| 962 |
|
|---|
| 963 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 964 |
<dt><span class="decl">DPyObject |
|---|
| 965 |
<span class="currsymbol">abs</span> |
|---|
| 966 |
<script>explorer.outline.addDecl('abs');</script> |
|---|
| 967 |
|
|---|
| 968 |
(); |
|---|
| 969 |
</span></dt> |
|---|
| 970 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 971 |
|
|---|
| 972 |
|
|---|
| 973 |
<dd><br><br> |
|---|
| 974 |
</dd> |
|---|
| 975 |
|
|---|
| 976 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 977 |
<dt><span class="decl">DPyObject |
|---|
| 978 |
<span class="currsymbol">opCom</span> |
|---|
| 979 |
<script>explorer.outline.addDecl('opCom');</script> |
|---|
| 980 |
|
|---|
| 981 |
(); |
|---|
| 982 |
</span></dt> |
|---|
| 983 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 984 |
|
|---|
| 985 |
|
|---|
| 986 |
<dd><br><br> |
|---|
| 987 |
</dd> |
|---|
| 988 |
|
|---|
| 989 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 990 |
<dt><span class="decl">DPyObject |
|---|
| 991 |
<span class="currsymbol">opShl</span> |
|---|
| 992 |
<script>explorer.outline.addDecl('opShl');</script> |
|---|
| 993 |
|
|---|
| 994 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 995 |
</span></dt> |
|---|
| 996 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 997 |
|
|---|
| 998 |
|
|---|
| 999 |
<dd><br><br> |
|---|
| 1000 |
</dd> |
|---|
| 1001 |
|
|---|
| 1002 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1003 |
<dt><span class="decl">DPyObject |
|---|
| 1004 |
<span class="currsymbol">opShr</span> |
|---|
| 1005 |
<script>explorer.outline.addDecl('opShr');</script> |
|---|
| 1006 |
|
|---|
| 1007 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1008 |
</span></dt> |
|---|
| 1009 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1010 |
|
|---|
| 1011 |
|
|---|
| 1012 |
<dd><br><br> |
|---|
| 1013 |
</dd> |
|---|
| 1014 |
|
|---|
| 1015 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1016 |
<dt><span class="decl">DPyObject |
|---|
| 1017 |
<span class="currsymbol">opAnd</span> |
|---|
| 1018 |
<script>explorer.outline.addDecl('opAnd');</script> |
|---|
| 1019 |
|
|---|
| 1020 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1021 |
</span></dt> |
|---|
| 1022 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1023 |
|
|---|
| 1024 |
|
|---|
| 1025 |
<dd><br><br> |
|---|
| 1026 |
</dd> |
|---|
| 1027 |
|
|---|
| 1028 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1029 |
<dt><span class="decl">DPyObject |
|---|
| 1030 |
<span class="currsymbol">opXor</span> |
|---|
| 1031 |
<script>explorer.outline.addDecl('opXor');</script> |
|---|
| 1032 |
|
|---|
| 1033 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1034 |
</span></dt> |
|---|
| 1035 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1036 |
|
|---|
| 1037 |
|
|---|
| 1038 |
<dd><br><br> |
|---|
| 1039 |
</dd> |
|---|
| 1040 |
|
|---|
| 1041 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1042 |
<dt><span class="decl">DPyObject |
|---|
| 1043 |
<span class="currsymbol">opOr</span> |
|---|
| 1044 |
<script>explorer.outline.addDecl('opOr');</script> |
|---|
| 1045 |
|
|---|
| 1046 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1047 |
</span></dt> |
|---|
| 1048 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1049 |
|
|---|
| 1050 |
|
|---|
| 1051 |
<dd><br><br> |
|---|
| 1052 |
</dd> |
|---|
| 1053 |
|
|---|
| 1054 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1055 |
<dt><span class="decl">DPyObject |
|---|
| 1056 |
<span class="currsymbol">opAddAssign</span> |
|---|
| 1057 |
<script>explorer.outline.addDecl('opAddAssign');</script> |
|---|
| 1058 |
|
|---|
| 1059 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1060 |
</span></dt> |
|---|
| 1061 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1062 |
|
|---|
| 1063 |
|
|---|
| 1064 |
<dd><br><br> |
|---|
| 1065 |
</dd> |
|---|
| 1066 |
|
|---|
| 1067 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1068 |
<dt><span class="decl">DPyObject |
|---|
| 1069 |
<span class="currsymbol">opSubAssign</span> |
|---|
| 1070 |
<script>explorer.outline.addDecl('opSubAssign');</script> |
|---|
| 1071 |
|
|---|
| 1072 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1073 |
</span></dt> |
|---|
| 1074 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1075 |
|
|---|
| 1076 |
|
|---|
| 1077 |
<dd><br><br> |
|---|
| 1078 |
</dd> |
|---|
| 1079 |
|
|---|
| 1080 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1081 |
<dt><span class="decl">DPyObject |
|---|
| 1082 |
<span class="currsymbol">opMulAssign</span> |
|---|
| 1083 |
<script>explorer.outline.addDecl('opMulAssign');</script> |
|---|
| 1084 |
|
|---|
| 1085 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1086 |
</span></dt> |
|---|
| 1087 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1088 |
|
|---|
| 1089 |
|
|---|
| 1090 |
<dd><br><br> |
|---|
| 1091 |
</dd> |
|---|
| 1092 |
|
|---|
| 1093 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1094 |
<dt><span class="decl">DPyObject |
|---|
| 1095 |
<span class="currsymbol">opMulAssign</span> |
|---|
| 1096 |
<script>explorer.outline.addDecl('opMulAssign');</script> |
|---|
| 1097 |
|
|---|
| 1098 |
(int <span class="funcparam">count</span>); |
|---|
| 1099 |
</span></dt> |
|---|
| 1100 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1101 |
|
|---|
| 1102 |
|
|---|
| 1103 |
<dd>In-place sequence repetition |
|---|
| 1104 |
<br><br> |
|---|
| 1105 |
|
|---|
| 1106 |
</dd> |
|---|
| 1107 |
|
|---|
| 1108 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1109 |
<dt><span class="decl">DPyObject |
|---|
| 1110 |
<span class="currsymbol">opDivAssign</span> |
|---|
| 1111 |
<script>explorer.outline.addDecl('opDivAssign');</script> |
|---|
| 1112 |
|
|---|
| 1113 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1114 |
</span></dt> |
|---|
| 1115 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1116 |
|
|---|
| 1117 |
|
|---|
| 1118 |
<dd><br><br> |
|---|
| 1119 |
</dd> |
|---|
| 1120 |
|
|---|
| 1121 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1122 |
<dt><span class="decl">DPyObject |
|---|
| 1123 |
<span class="currsymbol">floorDivAssign</span> |
|---|
| 1124 |
<script>explorer.outline.addDecl('floorDivAssign');</script> |
|---|
| 1125 |
|
|---|
| 1126 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1127 |
</span></dt> |
|---|
| 1128 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1129 |
|
|---|
| 1130 |
|
|---|
| 1131 |
<dd><br><br> |
|---|
| 1132 |
</dd> |
|---|
| 1133 |
|
|---|
| 1134 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1135 |
<dt><span class="decl">DPyObject |
|---|
| 1136 |
<span class="currsymbol">opModAssign</span> |
|---|
| 1137 |
<script>explorer.outline.addDecl('opModAssign');</script> |
|---|
| 1138 |
|
|---|
| 1139 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1140 |
</span></dt> |
|---|
| 1141 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1142 |
|
|---|
| 1143 |
|
|---|
| 1144 |
<dd><br><br> |
|---|
| 1145 |
</dd> |
|---|
| 1146 |
|
|---|
| 1147 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1148 |
<dt><span class="decl">DPyObject |
|---|
| 1149 |
<span class="currsymbol">powAssign</span> |
|---|
| 1150 |
<script>explorer.outline.addDecl('powAssign');</script> |
|---|
| 1151 |
|
|---|
| 1152 |
(DPyObject <span class="funcparam">o1</span>, DPyObject <span class="funcparam">o2</span> = cast(DPyObject)null); |
|---|
| 1153 |
</span></dt> |
|---|
| 1154 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1155 |
|
|---|
| 1156 |
|
|---|
| 1157 |
<dd><br><br> |
|---|
| 1158 |
</dd> |
|---|
| 1159 |
|
|---|
| 1160 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1161 |
<dt><span class="decl">DPyObject |
|---|
| 1162 |
<span class="currsymbol">opShlAssign</span> |
|---|
| 1163 |
<script>explorer.outline.addDecl('opShlAssign');</script> |
|---|
| 1164 |
|
|---|
| 1165 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1166 |
</span></dt> |
|---|
| 1167 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1168 |
|
|---|
| 1169 |
|
|---|
| 1170 |
<dd><br><br> |
|---|
| 1171 |
</dd> |
|---|
| 1172 |
|
|---|
| 1173 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1174 |
<dt><span class="decl">DPyObject |
|---|
| 1175 |
<span class="currsymbol">opShrAssign</span> |
|---|
| 1176 |
<script>explorer.outline.addDecl('opShrAssign');</script> |
|---|
| 1177 |
|
|---|
| 1178 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1179 |
</span></dt> |
|---|
| 1180 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1181 |
|
|---|
| 1182 |
|
|---|
| 1183 |
<dd><br><br> |
|---|
| 1184 |
</dd> |
|---|
| 1185 |
|
|---|
| 1186 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1187 |
<dt><span class="decl">DPyObject |
|---|
| 1188 |
<span class="currsymbol">opAndAssign</span> |
|---|
| 1189 |
<script>explorer.outline.addDecl('opAndAssign');</script> |
|---|
| 1190 |
|
|---|
| 1191 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1192 |
</span></dt> |
|---|
| 1193 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1194 |
|
|---|
| 1195 |
|
|---|
| 1196 |
<dd><br><br> |
|---|
| 1197 |
</dd> |
|---|
| 1198 |
|
|---|
| 1199 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1200 |
<dt><span class="decl">DPyObject |
|---|
| 1201 |
<span class="currsymbol">opXorAssign</span> |
|---|
| 1202 |
<script>explorer.outline.addDecl('opXorAssign');</script> |
|---|
| 1203 |
|
|---|
| 1204 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1205 |
</span></dt> |
|---|
| 1206 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1207 |
|
|---|
| 1208 |
|
|---|
| 1209 |
<dd><br><br> |
|---|
| 1210 |
</dd> |
|---|
| 1211 |
|
|---|
| 1212 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1213 |
<dt><span class="decl">DPyObject |
|---|
| 1214 |
<span class="currsymbol">opOrAssign</span> |
|---|
| 1215 |
<script>explorer.outline.addDecl('opOrAssign');</script> |
|---|
| 1216 |
|
|---|
| 1217 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1218 |
</span></dt> |
|---|
| 1219 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1220 |
|
|---|
| 1221 |
|
|---|
| 1222 |
<dd><br><br> |
|---|
| 1223 |
</dd> |
|---|
| 1224 |
|
|---|
| 1225 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1226 |
<dt><span class="decl">DPyObject |
|---|
| 1227 |
<span class="currsymbol">asInt</span> |
|---|
| 1228 |
<script>explorer.outline.addDecl('asInt');</script> |
|---|
| 1229 |
|
|---|
| 1230 |
(); |
|---|
| 1231 |
</span></dt> |
|---|
| 1232 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1233 |
|
|---|
| 1234 |
|
|---|
| 1235 |
<dd><br><br> |
|---|
| 1236 |
</dd> |
|---|
| 1237 |
|
|---|
| 1238 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1239 |
<dt><span class="decl">DPyObject |
|---|
| 1240 |
<span class="currsymbol">asLong</span> |
|---|
| 1241 |
<script>explorer.outline.addDecl('asLong');</script> |
|---|
| 1242 |
|
|---|
| 1243 |
(); |
|---|
| 1244 |
</span></dt> |
|---|
| 1245 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1246 |
|
|---|
| 1247 |
|
|---|
| 1248 |
<dd><br><br> |
|---|
| 1249 |
</dd> |
|---|
| 1250 |
|
|---|
| 1251 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1252 |
<dt><span class="decl">DPyObject |
|---|
| 1253 |
<span class="currsymbol">asFloat</span> |
|---|
| 1254 |
<script>explorer.outline.addDecl('asFloat');</script> |
|---|
| 1255 |
|
|---|
| 1256 |
(); |
|---|
| 1257 |
</span></dt> |
|---|
| 1258 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1259 |
|
|---|
| 1260 |
|
|---|
| 1261 |
<dd><br><br> |
|---|
| 1262 |
</dd> |
|---|
| 1263 |
|
|---|
| 1264 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1265 |
<dt><span class="decl">int |
|---|
| 1266 |
<span class="currsymbol">toLong</span> |
|---|
| 1267 |
<script>explorer.outline.addDecl('toLong');</script> |
|---|
| 1268 |
|
|---|
| 1269 |
(); |
|---|
| 1270 |
</span></dt> |
|---|
| 1271 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1272 |
|
|---|
| 1273 |
|
|---|
| 1274 |
<dd><br><br> |
|---|
| 1275 |
</dd> |
|---|
| 1276 |
|
|---|
| 1277 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1278 |
<dt><span class="decl">long |
|---|
| 1279 |
<span class="currsymbol">toLongLong</span> |
|---|
| 1280 |
<script>explorer.outline.addDecl('toLongLong');</script> |
|---|
| 1281 |
|
|---|
| 1282 |
(); |
|---|
| 1283 |
</span></dt> |
|---|
| 1284 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1285 |
|
|---|
| 1286 |
|
|---|
| 1287 |
<dd><br><br> |
|---|
| 1288 |
</dd> |
|---|
| 1289 |
|
|---|
| 1290 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1291 |
<dt><span class="decl">double |
|---|
| 1292 |
<span class="currsymbol">toDouble</span> |
|---|
| 1293 |
<script>explorer.outline.addDecl('toDouble');</script> |
|---|
| 1294 |
|
|---|
| 1295 |
(); |
|---|
| 1296 |
</span></dt> |
|---|
| 1297 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1298 |
|
|---|
| 1299 |
|
|---|
| 1300 |
<dd><br><br> |
|---|
| 1301 |
</dd> |
|---|
| 1302 |
|
|---|
| 1303 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1304 |
<dt><span class="decl">cdouble |
|---|
| 1305 |
<span class="currsymbol">toComplex</span> |
|---|
| 1306 |
<script>explorer.outline.addDecl('toComplex');</script> |
|---|
| 1307 |
|
|---|
| 1308 |
(); |
|---|
| 1309 |
</span></dt> |
|---|
| 1310 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1311 |
|
|---|
| 1312 |
|
|---|
| 1313 |
<dd><br><br> |
|---|
| 1314 |
</dd> |
|---|
| 1315 |
|
|---|
| 1316 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1317 |
<dt><span class="decl">DPyObject |
|---|
| 1318 |
<span class="currsymbol">opCat</span> |
|---|
| 1319 |
<script>explorer.outline.addDecl('opCat');</script> |
|---|
| 1320 |
|
|---|
| 1321 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1322 |
</span></dt> |
|---|
| 1323 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1324 |
|
|---|
| 1325 |
|
|---|
| 1326 |
<dd>Sequence concatenation |
|---|
| 1327 |
<br><br> |
|---|
| 1328 |
|
|---|
| 1329 |
</dd> |
|---|
| 1330 |
|
|---|
| 1331 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1332 |
<dt><span class="decl">DPyObject |
|---|
| 1333 |
<span class="currsymbol">opCatAssign</span> |
|---|
| 1334 |
<script>explorer.outline.addDecl('opCatAssign');</script> |
|---|
| 1335 |
|
|---|
| 1336 |
(DPyObject <span class="funcparam">o</span>); |
|---|
| 1337 |
</span></dt> |
|---|
| 1338 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1339 |
|
|---|
| 1340 |
|
|---|
| 1341 |
<dd>In-place sequence concatenation |
|---|
| 1342 |
<br><br> |
|---|
| 1343 |
|
|---|
| 1344 |
</dd> |
|---|
| 1345 |
|
|---|
| 1346 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1347 |
<dt><span class="decl">int |
|---|
| 1348 |
<span class="currsymbol">count</span> |
|---|
| 1349 |
<script>explorer.outline.addDecl('count');</script> |
|---|
| 1350 |
|
|---|
| 1351 |
(DPyObject <span class="funcparam">v</span>); |
|---|
| 1352 |
</span></dt> |
|---|
| 1353 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1354 |
|
|---|
| 1355 |
|
|---|
| 1356 |
<dd><br><br> |
|---|
| 1357 |
</dd> |
|---|
| 1358 |
|
|---|
| 1359 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1360 |
<dt><span class="decl">int |
|---|
| 1361 |
<span class="currsymbol">index</span> |
|---|
| 1362 |
<script>explorer.outline.addDecl('index');</script> |
|---|
| 1363 |
|
|---|
| 1364 |
(DPyObject <span class="funcparam">v</span>); |
|---|
| 1365 |
</span></dt> |
|---|
| 1366 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1367 |
|
|---|
| 1368 |
|
|---|
| 1369 |
<dd><br><br> |
|---|
| 1370 |
</dd> |
|---|
| 1371 |
|
|---|
| 1372 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1373 |
<dt><span class="decl">DPyObject |
|---|
| 1374 |
<span class="currsymbol">asList</span> |
|---|
| 1375 |
<script>explorer.outline.addDecl('asList');</script> |
|---|
| 1376 |
|
|---|
| 1377 |
(); |
|---|
| 1378 |
</span></dt> |
|---|
| 1379 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1380 |
|
|---|
| 1381 |
|
|---|
| 1382 |
<dd>Converts any iterable DPyObject to a list |
|---|
| 1383 |
<br><br> |
|---|
| 1384 |
|
|---|
| 1385 |
</dd> |
|---|
| 1386 |
|
|---|
| 1387 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1388 |
<dt><span class="decl">DPyObject |
|---|
| 1389 |
<span class="currsymbol">asTuple</span> |
|---|
| 1390 |
<script>explorer.outline.addDecl('asTuple');</script> |
|---|
| 1391 |
|
|---|
| 1392 |
(); |
|---|
| 1393 |
</span></dt> |
|---|
| 1394 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1395 |
|
|---|
| 1396 |
|
|---|
| 1397 |
<dd>Converts any iterable DPyObject to a tuple |
|---|
| 1398 |
<br><br> |
|---|
| 1399 |
|
|---|
| 1400 |
</dd> |
|---|
| 1401 |
|
|---|
| 1402 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1403 |
<dt><span class="decl">bool |
|---|
| 1404 |
<span class="currsymbol">opIn_r</span> |
|---|
| 1405 |
<script>explorer.outline.addDecl('opIn_r');</script> |
|---|
| 1406 |
|
|---|
| 1407 |
(DPyObject <span class="funcparam">v</span>); |
|---|
| 1408 |
</span></dt> |
|---|
| 1409 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1410 |
|
|---|
| 1411 |
|
|---|
| 1412 |
<dd>Same as "<span class="funcparam">v</span> in this" in Python. |
|---|
| 1413 |
<br><br> |
|---|
| 1414 |
|
|---|
| 1415 |
</dd> |
|---|
| 1416 |
|
|---|
| 1417 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1418 |
<dt><span class="decl">bool |
|---|
| 1419 |
<span class="currsymbol">hasKey</span> |
|---|
| 1420 |
<script>explorer.outline.addDecl('hasKey');</script> |
|---|
| 1421 |
|
|---|
| 1422 |
(DPyObject <span class="funcparam">key</span>); |
|---|
| 1423 |
</span></dt> |
|---|
| 1424 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1425 |
|
|---|
| 1426 |
|
|---|
| 1427 |
<dd>Same as opIn_r |
|---|
| 1428 |
<br><br> |
|---|
| 1429 |
|
|---|
| 1430 |
</dd> |
|---|
| 1431 |
|
|---|
| 1432 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1433 |
<dt><span class="decl">bool |
|---|
| 1434 |
<span class="currsymbol">opIn_r</span> |
|---|
| 1435 |
<script>explorer.outline.addDecl('opIn_r');</script> |
|---|
| 1436 |
|
|---|
| 1437 |
(char[] <span class="funcparam">key</span>); |
|---|
| 1438 |
</span></dt> |
|---|
| 1439 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1440 |
|
|---|
| 1441 |
|
|---|
| 1442 |
<dd>Same as "'v' in this" in Python. |
|---|
| 1443 |
<br><br> |
|---|
| 1444 |
|
|---|
| 1445 |
</dd> |
|---|
| 1446 |
|
|---|
| 1447 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1448 |
<dt><span class="decl">bool |
|---|
| 1449 |
<span class="currsymbol">hasKey</span> |
|---|
| 1450 |
<script>explorer.outline.addDecl('hasKey');</script> |
|---|
| 1451 |
|
|---|
| 1452 |
(char[] <span class="funcparam">key</span>); |
|---|
| 1453 |
</span></dt> |
|---|
| 1454 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1455 |
|
|---|
| 1456 |
|
|---|
| 1457 |
<dd>Same as opIn_r |
|---|
| 1458 |
<br><br> |
|---|
| 1459 |
|
|---|
| 1460 |
</dd> |
|---|
| 1461 |
|
|---|
| 1462 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1463 |
<dt><span class="decl">DPyObject |
|---|
| 1464 |
<span class="currsymbol">keys</span> |
|---|
| 1465 |
<script>explorer.outline.addDecl('keys');</script> |
|---|
| 1466 |
|
|---|
| 1467 |
(); |
|---|
| 1468 |
</span></dt> |
|---|
| 1469 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1470 |
|
|---|
| 1471 |
|
|---|
| 1472 |
<dd><br><br> |
|---|
| 1473 |
</dd> |
|---|
| 1474 |
|
|---|
| 1475 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1476 |
<dt><span class="decl">DPyObject |
|---|
| 1477 |
<span class="currsymbol">values</span> |
|---|
| 1478 |
<script>explorer.outline.addDecl('values');</script> |
|---|
| 1479 |
|
|---|
| 1480 |
(); |
|---|
| 1481 |
</span></dt> |
|---|
| 1482 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1483 |
|
|---|
| 1484 |
|
|---|
| 1485 |
<dd><br><br> |
|---|
| 1486 |
</dd> |
|---|
| 1487 |
|
|---|
| 1488 |
<script>explorer.outline.writeEnabled = true;</script> |
|---|
| 1489 |
<dt><span class="decl">DPyObject |
|---|
| 1490 |
<span class="currsymbol">items</span> |
|---|
| 1491 |
<script>explorer.outline.addDecl('items');</script> |
|---|
| 1492 |
|
|---|
| 1493 |
(); |
|---|
| 1494 |
</span></dt> |
|---|
| 1495 |
<script>explorer.outline.writeEnabled = false;</script> |
|---|
| 1496 |
|
|---|
| 1497 |
|
|---|
| 1498 |
<dd><br><br> |
|---|
| 1499 |
</dd> |
|---|
| 1500 |
</dl> |
|---|
| 1501 |
<script>explorer.outline.decSymbolLevel();</script> |
|---|
| 1502 |
|
|---|
| 1503 |
|
|---|
| 1504 |
</dd> |
|---|
| 1505 |
</dl> |
|---|
| 1506 |
<script>explorer.outline.decSymbolLevel();</script> |
|---|
| 1507 |
|
|---|
| 1508 |
|
|---|
| 1509 |
</td></tr> |
|---|
| 1510 |
<tr><td id="docfooter"> |
|---|
| 1511 |
Page was generated with |
|---|
| 1512 |
<img src="candydoc/img/candydoc.gif" style="vertical-align:middle; position:relative; top:-1px"> |
|---|
| 1513 |
on Sat Jul 1 22:14:02 2006 |
|---|
| 1514 |
|
|---|
| 1515 |
</td></tr> |
|---|
| 1516 |
</table> |
|---|
| 1517 |
</div> |
|---|
| 1518 |
<script> |
|---|
| 1519 |
explorer.packageExplorer.addModule("pyd.class_wrap"); |
|---|
| 1520 |
explorer.packageExplorer.addModule("pyd.ctor_wrap"); |
|---|
| 1521 |
explorer.packageExplorer.addModule("pyd.def"); |
|---|
| 1522 |
explorer.packageExplorer.addModule("pyd.dg_convert"); |
|---|
| 1523 |
explorer.packageExplorer.addModule("pyd.exception"); |
|---|
| 1524 |
explorer.packageExplorer.addModule("pyd.ftype"); |
|---|
| 1525 |
explorer.packageExplorer.addModule("pyd.make_object"); |
|---|
| 1526 |
explorer.packageExplorer.addModule("pyd.object"); |
|---|
| 1527 |
explorer.packageExplorer.addModule("pyd.pyd");</script> |
|---|
| 1528 |
</body></html> |
|---|