]> granicus.if.org Git - python/commitdiff
There is no reason to have an underscore after self
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 7 Jun 2004 03:47:06 +0000 (03:47 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 7 Jun 2004 03:47:06 +0000 (03:47 +0000)
Lib/calendar.py

index 321059d05525d2505276ac1b5d4d47827ff440fb..c2a9775ebfef5a26eee8304d2922c7e0a05071b2 100644 (file)
@@ -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