Skip to content

Commit

Permalink
Adjust line lengths of modified docstrings (flake8)
Browse files Browse the repository at this point in the history
  • Loading branch information
delirious-lettuce committed Feb 1, 2018
1 parent 511acea commit 77c449c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions binarytree/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,8 @@ def __str__(self):
.. note::
To include `level-order (breadth-first)`_ indexes in the string, use
:func:`binarytree.Node.pprint` instead.
To include `level-order (breadth-first)`_ indexes in the string,
use :func:`binarytree.Node.pprint` instead.
.. _level-order (breadth-first):
https://en.wikipedia.org/wiki/Tree_traversal#Breadth-first_search
Expand Down Expand Up @@ -1599,10 +1599,10 @@ def build(values):
node values and/or None's in breadth-first order) and return its root.
:param values: The list representation (i.e. a list of node values and/or
None's in breadth-first order). If a node has an index i, its left child
is at index 2i + 1, right child at index 2i + 2, and parent at index
floor((i - 1) / 2). None signifies the absence of a node. See example
below for an illustration.
None's in breadth-first order). If a node has an index i, its left
child is at index 2i + 1, right child at index 2i + 2, and parent at
index floor((i - 1) / 2). None signifies the absence of a node. See
example below for an illustration.
:type values: [int | None]
:return: The root of the binary tree.
:rtype: binarytree.Node
Expand Down

0 comments on commit 77c449c

Please sign in to comment.