Skip to content

Commit 1d384dd

Browse files
committed
Change Node.value to Node.val and minor refactors
1 parent 5ff28f7 commit 1d384dd

File tree

6 files changed

+180
-186
lines changed

6 files changed

+180
-186
lines changed

README.rst

+3-3
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Binarytree: Python Library for Studying Binary Trees
99
:target: https://badge.fury.io/py/binarytree
1010
:alt: Package Version
1111

12-
.. image:: https://img.shields.io/badge/python-2.7%2C%203.5%2C%203.6%2C%203.7-blue.svg
12+
.. image:: https://img.shields.io/badge/python-2.7%2C%203.5%2C%203.6%2C%203.7%2C%203.8-blue.svg
1313
:target: https://github.com/joowani/binarytree
1414
:alt: Python Versions
1515

@@ -50,7 +50,7 @@ Announcements
5050
Requirements
5151
============
5252

53-
- Python 2.7, 3.4, 3.5, 3.6 or 3.7.
53+
- Python 2.7, 3.4, 3.5, 3.6, 3.7, 3.8
5454

5555
Installation
5656
============
@@ -82,7 +82,7 @@ By default, **binarytree** uses the following class to represent a node:
8282
class Node(object):
8383
8484
def __init__(self, value, left=None, right=None):
85-
self.value = value # The node value
85+
self.val = value # The node value
8686
self.left = left # Left child
8787
self.right = right # Right child
8888

0 commit comments

Comments
 (0)