Skip to content

Commit 3b0c516

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

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def __init__(self):
5656
self.edges = {}
5757
def __getitem__(self,i):
5858
return self.vertexs[i]
59-
def __setitem__(selfi,x):
59+
def __setitem__(self,i,x):
6060
self.vertexs[i]= x
6161
def __iter__(self):
6262
return iter(self.vertexs)

0 commit comments

Comments
 (0)