Skip to content

Commit c7d8958

Browse files
authored
Typo: selfi --> self, i
1 parent 3b0c516 commit c7d8958

File tree

1 file changed

+1
-1
lines changed
  • 数据结构/labs/2017/navigation

1 file changed

+1
-1
lines changed

数据结构/labs/2017/navigation/graph.py

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

0 commit comments

Comments
 (0)