Skip to content

Commit 40abc7c

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def __init__(self):
4545
self.edges = {}
4646
def __getitem__(self,i):
4747
return self.vertexs[i]
48-
def __setitem__(selfi,x):
48+
def __setitem__(self,i,x):
4949
self.vertexs[i]= x
5050
def __iter__(self):
5151
return iter(self.vertexs.values())

0 commit comments

Comments
 (0)