Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Commitf39c8ef

Browse files
authored
Merge pull request#36 from dym0080/master
fixed the param 'index' is redundant
2 parentsa58ecf6 +7cd136b commitf39c8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎14-it-generator/sentence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def __init__(self, text):
1717
def__getitem__(self,index):
1818
returnself.words[index]# <2>
1919

20-
def__len__(self,index):# <3>
20+
def__len__(self):# <3>
2121
returnlen(self.words)
2222

2323
def__repr__(self):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp