mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
There is no reason to have an underscore after self
This commit is contained in:
parent
c75f891879
commit
492faa5505
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class _localized_day:
|
||||||
for j in range(7)]
|
for j in range(7)]
|
||||||
return data[i]
|
return data[i]
|
||||||
|
|
||||||
def __len__(self_):
|
def __len__(self):
|
||||||
return 7
|
return 7
|
||||||
|
|
||||||
# Full and abbreviated names of weekdays
|
# Full and abbreviated names of weekdays
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue