mirror of
https://github.com/python/cpython
synced 2024-07-21 02:05:18 +00:00
There is no reason to have an underscore after self
This commit is contained in:
parent
c75f891879
commit
492faa5505
|
@ -50,7 +50,7 @@ def __getitem__(self, i):
|
|||
for j in range(7)]
|
||||
return data[i]
|
||||
|
||||
def __len__(self_):
|
||||
def __len__(self):
|
||||
return 7
|
||||
|
||||
# Full and abbreviated names of weekdays
|
||||
|
|
Loading…
Reference in a new issue