Precision must be a nonnegative integer (#2013)

* Precision must be a nonnegative integer

* fixup! Format Python code with psf/black push

Co-authored-by: github-actions <${GITHUB_ACTOR}@users.noreply.github.com>
This commit is contained in:
Christian Clauss
2020-05-19 12:16:20 +02:00
committed by GitHub
parent e6fdcc90fd
commit 1c62bd10c1
2 changed files with 2 additions and 2 deletions

View File

@ -106,7 +106,7 @@ class LinkedList:
raise IndexError("Index out of range.")
current = current.next
current.data = data
def __len__(self):
"""
Return length of linked list i.e. number of nodes