From c975cac371fbebd7a0de6c7693154da65a49a93e Mon Sep 17 00:00:00 2001 From: William Feng Date: Wed, 7 Mar 2018 15:04:37 +0800 Subject: [PATCH] function '__init__' miss a 'i' __int__ should be __init__ i think? --- data_structures/LinkedList/singly_LinkedList.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data_structures/LinkedList/singly_LinkedList.py b/data_structures/LinkedList/singly_LinkedList.py index 7285e3762..eb7f48f17 100644 --- a/data_structures/LinkedList/singly_LinkedList.py +++ b/data_structures/LinkedList/singly_LinkedList.py @@ -2,7 +2,7 @@ from __future__ import print_function class Node: # create a Node - def __int__(self, data): + def __init__(self, data): self.data = data # given data self.next = None # given next to None