[issue23398] calendar.monthrange for February 2015

2015-02-05 Thread Ethan Furman
Ethan Furman added the comment: https://docs.python.org/3/library/calendar.html#calendar.monthrange -- nosy: +ethan.furman resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___

[issue23398] calendar.monthrange for February 2015

2015-02-05 Thread Geoffrey Spear
Geoffrey Spear added the comment: "Returns weekday of first day of the month and number of days in month, for the specified year and month.". The 6 means February began on a Sunday, not that there are 6 weeks in the month. -- nosy: +geoffreyspear __

[issue23398] calendar.monthrange for February 2015

2015-02-05 Thread Sergiy
New submission from Sergiy: >>>print(calendar.monthrange(2015,2)) (6, 28) February has only 5 weeks. -- components: Extension Modules messages: 235440 nosy: skarpovsky priority: normal severity: normal status: open title: calendar.monthrange for February 2015 type: behavior versions: Pyt