Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 492faa5

Browse files
committed
There is no reason to have an underscore after self
1 parent c75f891 commit 492faa5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/calendar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def __getitem__(self, i):
5050
for j in range(7)]
5151
return data[i]
5252

53-
def __len__(self_):
53+
def __len__(self):
5454
return 7
5555

5656
# Full and abbreviated names of weekdays

0 commit comments

Comments
 (0)