On Nov 27, 2019, at 12:39, Abdur-Rahmaan Janhangeer <arj.pyt...@gmail.com> wrote: > > > In the calendar module, i find it terribly unintuitive to have a > calendar.month but not a calendar.year, the default being calendar.calendar > > Suggestion: replace calendar.calendar by calendar.year
Replacing it would break backward compatibility. But adding a year function as an alias for calendar wouldn’t. And you could note in the docs that year is preferred for new code, or even deprecate the old name over a few versions if it seems worth it. What about prcal (as opposed to pryear) vs. prmonth? _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/RFHTAKFOFOFDEWIMR2ZSVG74EII642MM/ Code of Conduct: http://python.org/psf/codeofconduct/