aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2004-06-07 03:47:06 +0000
committerNeal Norwitz <nnorwitz@gmail.com>2004-06-07 03:47:06 +0000
commit492faa5505add29b790022e7afba61415a93c9ad (patch)
tree2245f7fcc7303a4d657cc4857f702feb24a140e7 /Lib/calendar.py
parentRemove a useless operation, setting name to itself (diff)
downloadcpython-492faa5505add29b790022e7afba61415a93c9ad.tar.gz
cpython-492faa5505add29b790022e7afba61415a93c9ad.tar.bz2
cpython-492faa5505add29b790022e7afba61415a93c9ad.zip
There is no reason to have an underscore after self
Diffstat (limited to 'Lib/calendar.py')
-rw-r--r--Lib/calendar.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/calendar.py b/Lib/calendar.py
index 321059d0552..c2a9775ebfe 100644
--- a/Lib/calendar.py
+++ b/Lib/calendar.py
@@ -50,7 +50,7 @@ class _localized_day:
for j in range(7)]
return data[i]
- def __len__(self_):
+ def __len__(self):
return 7
# Full and abbreviated names of weekdays