mirror of
https://github.com/TheAlgorithms/Python.git
synced 2024-11-24 05:21:09 +00:00
Merge pull request #262 from williamfzc/master
function '__init__' miss a 'i'
This commit is contained in:
commit
fecba12dd0
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user