(self)
return (self.toordinal() + 6) % 7
Return day of the week, where Monday == 0 ... Sunday == 6.
Return day of the week, where Monday == 0 ... Sunday == 6.
Return day of the week where Monday == 0 ... Sunday == 6 .
def weekday(self):
        "Return day of the week, where Monday == 0 ... Sunday == 6."
        return (self.toordinal() + 6) % 7
def weekday ( self ) : return ( self . toordinal ( ) + 6 ) % 7