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.

fixed the param 'index' is redundant#36

Merged
ramalho merged 1 commit intofluentpython:masterfromdym0080:master
Nov 15, 2019
Merged
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion14-it-generator/sentence.py
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -17,7 +17,7 @@ def __init__(self, text):
def __getitem__(self, index):
return self.words[index] # <2>

def __len__(self, index): # <3>
def __len__(self): # <3>
return len(self.words)

def __repr__(self):
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp