Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 2f9f2aa

Browse filesBrowse files
authored
Typo: selfi --> self, i
1 parent 40abc7c commit 2f9f2aa
Copy full SHA for 2f9f2aa

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎数据结构/codes/mbinary/graph/adjacentList.py

Copy file name to clipboardExpand all lines: 数据结构/codes/mbinary/graph/adjacentList.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def __init__(self):
5151
self.edges = {}
5252
def __getitem__(self,i):
5353
return self.vertexs[i]
54-
def __setitem__(selfi,x):
54+
def __setitem__(self, i,x):
5555
self.vertexs[i]= x
5656
def __iter__(self):
5757
return iter(self.vertexs)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.