Skip to content

Commit

Permalink
Typo: sefli --> self, i
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Apr 3, 2019
1 parent c7d8958 commit 0e6628f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 数据结构/labs/2017/navigation/directed.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def __init__(self):
self.edges = {}
def __getitem__(self,i):
return self.vertexs[i]
def __setitem__(selfi,x):
def __setitem__(self,i,x):
self.vertexs[i]= x
def __iter__(self):
return iter(self.vertexs.values())
Expand Down

0 comments on commit 0e6628f

Please sign in to comment.