Sk.builtin.NotImplemented.html 30 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267
  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>JSDoc: Class: NotImplemented</title>
  6. <script src="scripts/prettify/prettify.js"> </script>
  7. <script src="scripts/prettify/lang-css.js"> </script>
  8. <!--[if lt IE 9]>
  9. <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
  10. <![endif]-->
  11. <link type="text/css" rel="stylesheet" href="styles/prettify-tomorrow.css">
  12. <link type="text/css" rel="stylesheet" href="styles/jsdoc-default.css">
  13. </head>
  14. <body>
  15. <div id="main">
  16. <h1 class="page-title">Class: NotImplemented</h1>
  17. <section>
  18. <header>
  19. <h2>
  20. <span class="ancestors"><a href="Sk.html">Sk</a><a href="Sk.builtin.html">.builtin</a>.</span>
  21. NotImplemented
  22. </h2>
  23. </header>
  24. <article>
  25. <div class="container-overview">
  26. <h4 class="name" id="NotImplemented"><span class="type-signature"></span>new NotImplemented<span class="signature">()</span><span class="type-signature"></span></h4>
  27. <dl class="details">
  28. <dt class="tag-source">Source:</dt>
  29. <dd class="tag-source"><ul class="dummy"><li>
  30. <a href="object.js.html">object.js</a>, <a href="object.js.html#line408">line 408</a>
  31. </li></ul></dd>
  32. </dl>
  33. </div>
  34. <h3 class="subsection-title">Extends</h3>
  35. <ul>
  36. <li><a href="Sk.builtin.object.html">Sk.builtin.object</a></li>
  37. </ul>
  38. <h3 class="subsection-title">Members</h3>
  39. <h4 class="name" id=".NotImplemented$"><span class="type-signature">(static) </span>NotImplemented$<span class="type-signature"> :<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span></h4>
  40. <div class="description">
  41. <p>Python NotImplemented constant.</p>
  42. </div>
  43. <h5>Type:</h5>
  44. <ul>
  45. <li>
  46. <span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>
  47. </li>
  48. </ul>
  49. <dl class="details">
  50. <dt class="tag-source">Source:</dt>
  51. <dd class="tag-source"><ul class="dummy"><li>
  52. <a href="object.js.html">object.js</a>, <a href="object.js.html#line424">line 424</a>
  53. </li></ul></dd>
  54. </dl>
  55. <h4 class="name" id="$r"><span class="type-signature"></span>$r<span class="type-signature"></span></h4>
  56. <div class="description">
  57. <p>Return the string representation of this instance.</p>
  58. <p>Javascript function, returns Python object.</p>
  59. </div>
  60. <dl class="details">
  61. <dt class="inherited-from">Inherited From:</dt>
  62. <dd class="inherited-from"><ul class="dummy"><li>
  63. <a href="Sk.builtin.object.html#$r">Sk.builtin.object#$r</a>
  64. </li></ul></dd>
  65. <dt class="tag-source">Source:</dt>
  66. <dd class="tag-source"><ul class="dummy"><li>
  67. <a href="object.js.html">object.js</a>, <a href="object.js.html#line253">line 253</a>
  68. </li></ul></dd>
  69. </dl>
  70. <h4 class="name" id="__eq__"><span class="type-signature"></span>__eq__<span class="type-signature"></span></h4>
  71. <div class="description">
  72. <p>Python wrapper for <code>__eq__</code> method.</p>
  73. </div>
  74. <dl class="details">
  75. <dt class="inherited-from">Inherited From:</dt>
  76. <dd class="inherited-from"><ul class="dummy"><li>
  77. <a href="Sk.builtin.object.html#__eq__">Sk.builtin.object#__eq__</a>
  78. </li></ul></dd>
  79. <dt class="tag-source">Source:</dt>
  80. <dd class="tag-source"><ul class="dummy"><li>
  81. <a href="object.js.html">object.js</a>, <a href="object.js.html#line179">line 179</a>
  82. </li></ul></dd>
  83. </dl>
  84. <h4 class="name" id="__ge__"><span class="type-signature"></span>__ge__<span class="type-signature"></span></h4>
  85. <div class="description">
  86. <p>Python wrapper for <code>__ge__</code> method.</p>
  87. </div>
  88. <dl class="details">
  89. <dt class="inherited-from">Inherited From:</dt>
  90. <dd class="inherited-from"><ul class="dummy"><li>
  91. <a href="Sk.builtin.object.html#__ge__">Sk.builtin.object#__ge__</a>
  92. </li></ul></dd>
  93. <dt class="tag-source">Source:</dt>
  94. <dd class="tag-source"><ul class="dummy"><li>
  95. <a href="object.js.html">object.js</a>, <a href="object.js.html#line239">line 239</a>
  96. </li></ul></dd>
  97. </dl>
  98. <h4 class="name" id="__gt__"><span class="type-signature"></span>__gt__<span class="type-signature"></span></h4>
  99. <div class="description">
  100. <p>Python wrapper for <code>__gt__</code> method.</p>
  101. </div>
  102. <dl class="details">
  103. <dt class="inherited-from">Inherited From:</dt>
  104. <dd class="inherited-from"><ul class="dummy"><li>
  105. <a href="Sk.builtin.object.html#__gt__">Sk.builtin.object#__gt__</a>
  106. </li></ul></dd>
  107. <dt class="tag-source">Source:</dt>
  108. <dd class="tag-source"><ul class="dummy"><li>
  109. <a href="object.js.html">object.js</a>, <a href="object.js.html#line227">line 227</a>
  110. </li></ul></dd>
  111. </dl>
  112. <h4 class="name" id="__hash__"><span class="type-signature"></span>__hash__<span class="type-signature"></span></h4>
  113. <div class="description">
  114. <p>Python wrapper for <code>__hash__</code> method.</p>
  115. </div>
  116. <dl class="details">
  117. <dt class="inherited-from">Inherited From:</dt>
  118. <dd class="inherited-from"><ul class="dummy"><li>
  119. <a href="Sk.builtin.object.html#__hash__">Sk.builtin.object#__hash__</a>
  120. </li></ul></dd>
  121. <dt class="tag-source">Source:</dt>
  122. <dd class="tag-source"><ul class="dummy"><li>
  123. <a href="object.js.html">object.js</a>, <a href="object.js.html#line167">line 167</a>
  124. </li></ul></dd>
  125. </dl>
  126. <h4 class="name" id="__le__"><span class="type-signature"></span>__le__<span class="type-signature"></span></h4>
  127. <div class="description">
  128. <p>Python wrapper for <code>__le__</code> method.</p>
  129. </div>
  130. <dl class="details">
  131. <dt class="inherited-from">Inherited From:</dt>
  132. <dd class="inherited-from"><ul class="dummy"><li>
  133. <a href="Sk.builtin.object.html#__le__">Sk.builtin.object#__le__</a>
  134. </li></ul></dd>
  135. <dt class="tag-source">Source:</dt>
  136. <dd class="tag-source"><ul class="dummy"><li>
  137. <a href="object.js.html">object.js</a>, <a href="object.js.html#line215">line 215</a>
  138. </li></ul></dd>
  139. </dl>
  140. <h4 class="name" id="__lt__"><span class="type-signature"></span>__lt__<span class="type-signature"></span></h4>
  141. <div class="description">
  142. <p>Python wrapper for <code>__lt__</code> method.</p>
  143. </div>
  144. <dl class="details">
  145. <dt class="inherited-from">Inherited From:</dt>
  146. <dd class="inherited-from"><ul class="dummy"><li>
  147. <a href="Sk.builtin.object.html#__lt__">Sk.builtin.object#__lt__</a>
  148. </li></ul></dd>
  149. <dt class="tag-source">Source:</dt>
  150. <dd class="tag-source"><ul class="dummy"><li>
  151. <a href="object.js.html">object.js</a>, <a href="object.js.html#line203">line 203</a>
  152. </li></ul></dd>
  153. </dl>
  154. <h4 class="name" id="__ne__"><span class="type-signature"></span>__ne__<span class="type-signature"></span></h4>
  155. <div class="description">
  156. <p>Python wrapper for <code>__ne__</code> method.</p>
  157. </div>
  158. <dl class="details">
  159. <dt class="inherited-from">Inherited From:</dt>
  160. <dd class="inherited-from"><ul class="dummy"><li>
  161. <a href="Sk.builtin.object.html#__ne__">Sk.builtin.object#__ne__</a>
  162. </li></ul></dd>
  163. <dt class="tag-source">Source:</dt>
  164. <dd class="tag-source"><ul class="dummy"><li>
  165. <a href="object.js.html">object.js</a>, <a href="object.js.html#line191">line 191</a>
  166. </li></ul></dd>
  167. </dl>
  168. <h4 class="name" id="__repr__"><span class="type-signature"></span>__repr__<span class="type-signature"></span></h4>
  169. <div class="description">
  170. <p>Python wrapper for <code>__repr__</code> method.</p>
  171. </div>
  172. <dl class="details">
  173. <dt class="inherited-from">Inherited From:</dt>
  174. <dd class="inherited-from"><ul class="dummy"><li>
  175. <a href="Sk.builtin.object.html#__repr__">Sk.builtin.object#__repr__</a>
  176. </li></ul></dd>
  177. <dt class="tag-source">Source:</dt>
  178. <dd class="tag-source"><ul class="dummy"><li>
  179. <a href="object.js.html">object.js</a>, <a href="object.js.html#line143">line 143</a>
  180. </li></ul></dd>
  181. </dl>
  182. <h4 class="name" id="__str__"><span class="type-signature"></span>__str__<span class="type-signature"></span></h4>
  183. <div class="description">
  184. <p>Python wrapper for <code>__str__</code> method.</p>
  185. </div>
  186. <dl class="details">
  187. <dt class="inherited-from">Inherited From:</dt>
  188. <dd class="inherited-from"><ul class="dummy"><li>
  189. <a href="Sk.builtin.object.html#__str__">Sk.builtin.object#__str__</a>
  190. </li></ul></dd>
  191. <dt class="tag-source">Source:</dt>
  192. <dd class="tag-source"><ul class="dummy"><li>
  193. <a href="object.js.html">object.js</a>, <a href="object.js.html#line155">line 155</a>
  194. </li></ul></dd>
  195. </dl>
  196. <h4 class="name" id="ob$type"><span class="type-signature"></span>ob$type<span class="type-signature"> :Sk.builtin.type</span></h4>
  197. <div class="description">
  198. <p>The type object of this class.</p>
  199. </div>
  200. <h5>Type:</h5>
  201. <ul>
  202. <li>
  203. <span class="param-type">Sk.builtin.type</span>
  204. </li>
  205. </ul>
  206. <dl class="details">
  207. <dt class="inherited-from">Inherited From:</dt>
  208. <dd class="inherited-from"><ul class="dummy"><li>
  209. <a href="Sk.builtin.object.html#ob$type">Sk.builtin.object#ob$type</a>
  210. </li></ul></dd>
  211. <dt class="tag-source">Source:</dt>
  212. <dd class="tag-source"><ul class="dummy"><li>
  213. <a href="object.js.html">object.js</a>, <a href="object.js.html#line138">line 138</a>
  214. </li></ul></dd>
  215. </dl>
  216. <h4 class="name" id="tp$name"><span class="type-signature"></span>tp$name<span class="type-signature"> :string</span></h4>
  217. <div class="description">
  218. <p>The name of this class.</p>
  219. </div>
  220. <h5>Type:</h5>
  221. <ul>
  222. <li>
  223. <span class="param-type">string</span>
  224. </li>
  225. </ul>
  226. <dl class="details">
  227. <dt class="inherited-from">Inherited From:</dt>
  228. <dd class="inherited-from"><ul class="dummy"><li>
  229. <a href="Sk.builtin.object.html#tp$name">Sk.builtin.object#tp$name</a>
  230. </li></ul></dd>
  231. <dt class="tag-source">Source:</dt>
  232. <dd class="tag-source"><ul class="dummy"><li>
  233. <a href="object.js.html">object.js</a>, <a href="object.js.html#line132">line 132</a>
  234. </li></ul></dd>
  235. </dl>
  236. <h3 class="subsection-title">Methods</h3>
  237. <h4 class="name" id="GenericGetAttr"><span class="type-signature"></span>GenericGetAttr<span class="signature">()</span><span class="type-signature"> &rarr; {undefined}</span></h4>
  238. <dl class="details">
  239. <dt class="inherited-from">Inherited From:</dt>
  240. <dd class="inherited-from"><ul class="dummy"><li>
  241. <a href="Sk.builtin.object.html#GenericGetAttr">Sk.builtin.object#GenericGetAttr</a>
  242. </li></ul></dd>
  243. <dt class="tag-source">Source:</dt>
  244. <dd class="tag-source"><ul class="dummy"><li>
  245. <a href="object.js.html">object.js</a>, <a href="object.js.html#line26">line 26</a>
  246. </li></ul></dd>
  247. </dl>
  248. <h5>Returns:</h5>
  249. <dl>
  250. <dt>
  251. Type
  252. </dt>
  253. <dd>
  254. <span class="param-type">undefined</span>
  255. </dd>
  256. </dl>
  257. <h4 class="name" id="ob$eq"><span class="type-signature"></span>ob$eq<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>
  258. <div class="description">
  259. <p>Perform equality check between this instance and a Python object (i.e. this == other).</p>
  260. <p>Implements <code>__eq__</code> dunder method.</p>
  261. <p>Javascript function, returns Python object.</p>
  262. </div>
  263. <h5>Parameters:</h5>
  264. <table class="params">
  265. <thead>
  266. <tr>
  267. <th>Name</th>
  268. <th>Type</th>
  269. <th class="last">Description</th>
  270. </tr>
  271. </thead>
  272. <tbody>
  273. <tr>
  274. <td class="name"><code>other</code></td>
  275. <td class="type">
  276. <span class="param-type">Object</span>
  277. </td>
  278. <td class="description last"><p>The Python object to check for equality.</p></td>
  279. </tr>
  280. </tbody>
  281. </table>
  282. <dl class="details">
  283. <dt class="inherited-from">Inherited From:</dt>
  284. <dd class="inherited-from"><ul class="dummy"><li>
  285. <a href="Sk.builtin.object.html#ob$eq">Sk.builtin.object#ob$eq</a>
  286. </li></ul></dd>
  287. <dt class="tag-source">Source:</dt>
  288. <dd class="tag-source"><ul class="dummy"><li>
  289. <a href="object.js.html">object.js</a>, <a href="object.js.html#line293">line 293</a>
  290. </li></ul></dd>
  291. </dl>
  292. <h5>Returns:</h5>
  293. <div class="param-desc">
  294. <p>true if equal, false otherwise</p>
  295. </div>
  296. <dl>
  297. <dt>
  298. Type
  299. </dt>
  300. <dd>
  301. <span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
  302. |
  303. <span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>
  304. </dd>
  305. </dl>
  306. <h4 class="name" id="ob$ge"><span class="type-signature"></span>ob$ge<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>
  307. <div class="description">
  308. <p>Determine if this instance is greater than or equal to a Python object (i.e. this &gt;= other).</p>
  309. <p>Implements <code>__ge__</code> dunder method.</p>
  310. <p>Javascript function, returns Python object.</p>
  311. </div>
  312. <h5>Parameters:</h5>
  313. <table class="params">
  314. <thead>
  315. <tr>
  316. <th>Name</th>
  317. <th>Type</th>
  318. <th class="last">Description</th>
  319. </tr>
  320. </thead>
  321. <tbody>
  322. <tr>
  323. <td class="name"><code>other</code></td>
  324. <td class="type">
  325. <span class="param-type">Object</span>
  326. </td>
  327. <td class="description last"><p>The Python object to compare.</p></td>
  328. </tr>
  329. </tbody>
  330. </table>
  331. <dl class="details">
  332. <dt class="inherited-from">Inherited From:</dt>
  333. <dd class="inherited-from"><ul class="dummy"><li>
  334. <a href="Sk.builtin.object.html#ob$ge">Sk.builtin.object#ob$ge</a>
  335. </li></ul></dd>
  336. <dt class="tag-source">Source:</dt>
  337. <dd class="tag-source"><ul class="dummy"><li>
  338. <a href="object.js.html">object.js</a>, <a href="object.js.html#line371">line 371</a>
  339. </li></ul></dd>
  340. </dl>
  341. <h5>Returns:</h5>
  342. <div class="param-desc">
  343. <p>true if this &gt;= other, false otherwise</p>
  344. </div>
  345. <dl>
  346. <dt>
  347. Type
  348. </dt>
  349. <dd>
  350. <span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
  351. |
  352. <span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>
  353. </dd>
  354. </dl>
  355. <h4 class="name" id="ob$gt"><span class="type-signature"></span>ob$gt<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>
  356. <div class="description">
  357. <p>Determine if this instance is greater than a Python object (i.e. this &gt; other).</p>
  358. <p>Implements <code>__gt__</code> dunder method.</p>
  359. <p>Javascript function, returns Python object.</p>
  360. </div>
  361. <h5>Parameters:</h5>
  362. <table class="params">
  363. <thead>
  364. <tr>
  365. <th>Name</th>
  366. <th>Type</th>
  367. <th class="last">Description</th>
  368. </tr>
  369. </thead>
  370. <tbody>
  371. <tr>
  372. <td class="name"><code>other</code></td>
  373. <td class="type">
  374. <span class="param-type">Object</span>
  375. </td>
  376. <td class="description last"><p>The Python object to compare.</p></td>
  377. </tr>
  378. </tbody>
  379. </table>
  380. <dl class="details">
  381. <dt class="inherited-from">Inherited From:</dt>
  382. <dd class="inherited-from"><ul class="dummy"><li>
  383. <a href="Sk.builtin.object.html#ob$gt">Sk.builtin.object#ob$gt</a>
  384. </li></ul></dd>
  385. <dt class="tag-source">Source:</dt>
  386. <dd class="tag-source"><ul class="dummy"><li>
  387. <a href="object.js.html">object.js</a>, <a href="object.js.html#line357">line 357</a>
  388. </li></ul></dd>
  389. </dl>
  390. <h5>Returns:</h5>
  391. <div class="param-desc">
  392. <p>true if this &gt; other, false otherwise</p>
  393. </div>
  394. <dl>
  395. <dt>
  396. Type
  397. </dt>
  398. <dd>
  399. <span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
  400. |
  401. <span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>
  402. </dd>
  403. </dl>
  404. <h4 class="name" id="ob$le"><span class="type-signature"></span>ob$le<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>
  405. <div class="description">
  406. <p>Determine if this instance is less than or equal to a Python object (i.e. this &lt;= other).</p>
  407. <p>Implements <code>__le__</code> dunder method.</p>
  408. <p>Javascript function, returns Python object.</p>
  409. </div>
  410. <h5>Parameters:</h5>
  411. <table class="params">
  412. <thead>
  413. <tr>
  414. <th>Name</th>
  415. <th>Type</th>
  416. <th class="last">Description</th>
  417. </tr>
  418. </thead>
  419. <tbody>
  420. <tr>
  421. <td class="name"><code>other</code></td>
  422. <td class="type">
  423. <span class="param-type">Object</span>
  424. </td>
  425. <td class="description last"><p>The Python object to compare.</p></td>
  426. </tr>
  427. </tbody>
  428. </table>
  429. <dl class="details">
  430. <dt class="inherited-from">Inherited From:</dt>
  431. <dd class="inherited-from"><ul class="dummy"><li>
  432. <a href="Sk.builtin.object.html#ob$le">Sk.builtin.object#ob$le</a>
  433. </li></ul></dd>
  434. <dt class="tag-source">Source:</dt>
  435. <dd class="tag-source"><ul class="dummy"><li>
  436. <a href="object.js.html">object.js</a>, <a href="object.js.html#line343">line 343</a>
  437. </li></ul></dd>
  438. </dl>
  439. <h5>Returns:</h5>
  440. <div class="param-desc">
  441. <p>true if this &lt;= other, false otherwise</p>
  442. </div>
  443. <dl>
  444. <dt>
  445. Type
  446. </dt>
  447. <dd>
  448. <span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
  449. |
  450. <span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>
  451. </dd>
  452. </dl>
  453. <h4 class="name" id="ob$lt"><span class="type-signature"></span>ob$lt<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>
  454. <div class="description">
  455. <p>Determine if this instance is less than a Python object (i.e. this &lt; other).</p>
  456. <p>Implements <code>__lt__</code> dunder method.</p>
  457. <p>Javascript function, returns Python object.</p>
  458. </div>
  459. <h5>Parameters:</h5>
  460. <table class="params">
  461. <thead>
  462. <tr>
  463. <th>Name</th>
  464. <th>Type</th>
  465. <th class="last">Description</th>
  466. </tr>
  467. </thead>
  468. <tbody>
  469. <tr>
  470. <td class="name"><code>other</code></td>
  471. <td class="type">
  472. <span class="param-type">Object</span>
  473. </td>
  474. <td class="description last"><p>The Python object to compare.</p></td>
  475. </tr>
  476. </tbody>
  477. </table>
  478. <dl class="details">
  479. <dt class="inherited-from">Inherited From:</dt>
  480. <dd class="inherited-from"><ul class="dummy"><li>
  481. <a href="Sk.builtin.object.html#ob$lt">Sk.builtin.object#ob$lt</a>
  482. </li></ul></dd>
  483. <dt class="tag-source">Source:</dt>
  484. <dd class="tag-source"><ul class="dummy"><li>
  485. <a href="object.js.html">object.js</a>, <a href="object.js.html#line329">line 329</a>
  486. </li></ul></dd>
  487. </dl>
  488. <h5>Returns:</h5>
  489. <div class="param-desc">
  490. <p>true if this &lt; other, false otherwise</p>
  491. </div>
  492. <dl>
  493. <dt>
  494. Type
  495. </dt>
  496. <dd>
  497. <span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
  498. |
  499. <span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>
  500. </dd>
  501. </dl>
  502. <h4 class="name" id="ob$ne"><span class="type-signature"></span>ob$ne<span class="signature">(other)</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.bool.html">Sk.builtin.bool</a>|<a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a>}</span></h4>
  503. <div class="description">
  504. <p>Perform non-equality check between this instance and a Python object (i.e. this != other).</p>
  505. <p>Implements <code>__ne__</code> dunder method.</p>
  506. <p>Javascript function, returns Python object.</p>
  507. </div>
  508. <h5>Parameters:</h5>
  509. <table class="params">
  510. <thead>
  511. <tr>
  512. <th>Name</th>
  513. <th>Type</th>
  514. <th class="last">Description</th>
  515. </tr>
  516. </thead>
  517. <tbody>
  518. <tr>
  519. <td class="name"><code>other</code></td>
  520. <td class="type">
  521. <span class="param-type">Object</span>
  522. </td>
  523. <td class="description last"><p>The Python object to check for non-equality.</p></td>
  524. </tr>
  525. </tbody>
  526. </table>
  527. <dl class="details">
  528. <dt class="inherited-from">Inherited From:</dt>
  529. <dd class="inherited-from"><ul class="dummy"><li>
  530. <a href="Sk.builtin.object.html#ob$ne">Sk.builtin.object#ob$ne</a>
  531. </li></ul></dd>
  532. <dt class="tag-source">Source:</dt>
  533. <dd class="tag-source"><ul class="dummy"><li>
  534. <a href="object.js.html">object.js</a>, <a href="object.js.html#line311">line 311</a>
  535. </li></ul></dd>
  536. </dl>
  537. <h5>Returns:</h5>
  538. <div class="param-desc">
  539. <p>true if not equal, false otherwise</p>
  540. </div>
  541. <dl>
  542. <dt>
  543. Type
  544. </dt>
  545. <dd>
  546. <span class="param-type"><a href="Sk.builtin.bool.html">Sk.builtin.bool</a></span>
  547. |
  548. <span class="param-type"><a href="Sk.builtin.NotImplemented.html">Sk.builtin.NotImplemented</a></span>
  549. </dd>
  550. </dl>
  551. <h4 class="name" id="tp$hash"><span class="type-signature"></span>tp$hash<span class="signature">()</span><span class="type-signature"> &rarr; {<a href="Sk.builtin.int_.html">Sk.builtin.int_</a>}</span></h4>
  552. <div class="description">
  553. <p>Return the hash value of this instance.</p>
  554. <p>Javascript function, returns Python object.</p>
  555. </div>
  556. <dl class="details">
  557. <dt class="inherited-from">Inherited From:</dt>
  558. <dd class="inherited-from"><ul class="dummy"><li>
  559. <a href="Sk.builtin.object.html#tp$hash">Sk.builtin.object#tp$hash</a>
  560. </li></ul></dd>
  561. <dt class="tag-source">Source:</dt>
  562. <dd class="tag-source"><ul class="dummy"><li>
  563. <a href="object.js.html">object.js</a>, <a href="object.js.html#line275">line 275</a>
  564. </li></ul></dd>
  565. </dl>
  566. <h5>Returns:</h5>
  567. <div class="param-desc">
  568. <p>The hash value</p>
  569. </div>
  570. <dl>
  571. <dt>
  572. Type
  573. </dt>
  574. <dd>
  575. <span class="param-type"><a href="Sk.builtin.int_.html">Sk.builtin.int_</a></span>
  576. </dd>
  577. </dl>
  578. </article>
  579. </section>
  580. </div>
  581. <nav>
  582. <h2><a href="index.html">Home</a></h2><h3>Classes</h3><ul><li><a href="Sk.abstr.iter-seqIter.html">seqIter</a></li><li><a href="Sk.builtin.bool.html">bool</a></li><li><a href="Sk.builtin.float_.html">float_</a></li><li><a href="Sk.builtin.func.html">func</a></li><li><a href="Sk.builtin.int_.html">int_</a></li><li><a href="Sk.builtin.none.html">none</a></li><li><a href="Sk.builtin.NotImplemented.html">NotImplemented</a></li><li><a href="Sk.builtin.numtype.html">numtype</a></li><li><a href="Sk.builtin.object.html">object</a></li><li><a href="Sk.builtin.seqtype.html">seqtype</a></li><li><a href="Sk.misceval.Suspension.html">Suspension</a></li></ul><h3>Namespaces</h3><ul><li><a href="Sk.html">Sk</a></li><li><a href="Sk.abstr.html">abstr</a></li><li><a href="Sk.builtin.html">builtin</a></li><li><a href="Sk.ffi.html">ffi</a></li><li><a href="Sk.misceval.html">misceval</a></li></ul>
  583. </nav>
  584. <br class="clear">
  585. <footer>
  586. Documentation generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.3.0</a> on Thu Aug 13 2015 08:14:27 GMT-0500 (CDT)
  587. </footer>
  588. <script> prettyPrint(); </script>
  589. <script src="scripts/linenumber.js"> </script>
  590. </body>
  591. </html>