commit | 492faa5505add29b790022e7afba61415a93c9ad | [log] [tgz] |
---|---|---|
author | Neal Norwitz <nnorwitz@gmail.com> | Mon Jun 07 03:47:06 2004 +0000 |
committer | Neal Norwitz <nnorwitz@gmail.com> | Mon Jun 07 03:47:06 2004 +0000 |
tree | 2245f7fcc7303a4d657cc4857f702feb24a140e7 | |
parent | c75f89187927dff4f66f9bd9da183f9e1be9dde9 [diff] [blame] |
There is no reason to have an underscore after self
diff --git a/Lib/calendar.py b/Lib/calendar.py index 321059d..c2a9775 100644 --- a/Lib/calendar.py +++ b/Lib/calendar.py
@@ -50,7 +50,7 @@ for j in range(7)] return data[i] - def __len__(self_): + def __len__(self): return 7 # Full and abbreviated names of weekdays