parameters: (self, day, width)
return_statement: return names[day][:width].center(width)
docstring: Returns a formatted week day name.
docstring_summary: Returns a formatted week day name.
docstring_tokens: Returns a formatted week day name .
function: def formatweekday(self, day, width):
          """
          Returns a formatted week day name.
          """
          if width >= 9:
              names = day_name
          else:
              names = day_abbr
          return names[day][:width].center(width)
function_tokens: def formatweekday ( self , day , width ) : if width >= 9 : names = day_name else : names = day_abbr return names [ day ] [ : width ] . center ( width )