]> granicus.if.org Git - python/commitdiff
missing 'self' from TextCalendar.prweek.
authorAnthony Baxter <anthonybaxter@gmail.com>
Fri, 7 Apr 2006 05:41:13 +0000 (05:41 +0000)
committerAnthony Baxter <anthonybaxter@gmail.com>
Fri, 7 Apr 2006 05:41:13 +0000 (05:41 +0000)
Lib/calendar.py

index 723bb3c8d492da29f8e368dd0c42b352d1e49c80..db7b2b63fd299531b3776e2a27ff9ce731deb23d 100644 (file)
@@ -256,7 +256,7 @@ class TextCalendar(Calendar):
     similar to the UNIX program cal.
     """
 
-    def prweek(theweek, width):
+    def prweek(self, theweek, width):
         """
         Print a single week (no newline).
         """