Skip to content

Commit 2f9f2aa

Browse files
authored
Typo: selfi --> self, i
1 parent 40abc7c commit 2f9f2aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

数据结构/codes/mbinary/graph/adjacentList.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self):
5151
self.edges = {}
5252
def __getitem__(self,i):
5353
return self.vertexs[i]
54-
def __setitem__(selfi,x):
54+
def __setitem__(self, i,x):
5555
self.vertexs[i]= x
5656
def __iter__(self):
5757
return iter(self.vertexs)

0 commit comments

Comments
 (0)