Skip to content

Commit 53257d1

Browse files
author
Vic-Nas
committed
Auto-generate docs and bump version to 0.28 [skip ci]
1 parent 8e3bf36 commit 53257d1

File tree

3 files changed

+11
-4
lines changed

3 files changed

+11
-4
lines changed

.version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
0.27
1+
0.28

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
setup(
88
name="vicutils",
9-
version="0.27",
9+
version="0.28",
1010
packages=find_packages(),
1111
install_requires=[],
1212

vicutils/printBin.html

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,7 +318,8 @@ <h2 class="section-title" id="header-classes">Classes</h2>
318318
<summary>
319319
<span>Expand source code</span>
320320
</summary>
321-
<pre><code class="python">class BinaryNode:
321+
<pre><code class="python">@total_ordering
322+
class BinaryNode:
322323
&#34;&#34;&#34;
323324
Represents a node in a binary tree.
324325

@@ -375,7 +376,13 @@ <h2 class="section-title" id="header-classes">Classes</h2>
375376
return str(self.val)
376377

377378
def __repr__(self):
378-
return str(self)</code></pre>
379+
return str(self)
380+
381+
def __eq__(self, value):
382+
return self.val == value
383+
384+
def __lt__(self, value):
385+
return self.val &lt; value</code></pre>
379386
</details>
380387
<div class="desc"><p>Represents a node in a binary tree.</p>
381388
<h2 id="args">Args</h2>

0 commit comments

Comments
 (0)