Skip to content

Commit 0e6628f

Browse files
authored
Typo: sefli --> self, i
1 parent c7d8958 commit 0e6628f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def __init__(self):
3535
self.edges = {}
3636
def __getitem__(self,i):
3737
return self.vertexs[i]
38-
def __setitem__(selfi,x):
38+
def __setitem__(self,i,x):
3939
self.vertexs[i]= x
4040
def __iter__(self):
4141
return iter(self.vertexs.values())

0 commit comments

Comments
 (0)