[Tutor] question about calendar module in standard libriary

Alan Gauld alan.gauld at yahoo.co.uk
Mon Sep 11 10:28:55 EDT 2017


On 11/09/17 11:58, Айнур Зулькарнаев wrote:

> So, the question is why not explicitly raise ValueError if 
> user enters the firstweekday parameter bigger that 6 

Its a valid question but you probably need to find the original PEP
document to find the answer and that module has been around for
a *very* long time!

-- 
Alan G
Author of the Learn to Program web site
http://www.alan-g.me.uk/
http://www.amazon.com/author/alan_gauld
Follow my photo-blog on Flickr at:
http://www.flickr.com/photos/alangauldphotos




More information about the Tutor mailing list