On Nov 27, 2019, at 12:39, Abdur-Rahmaan Janhangeer <[email protected]> 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 -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/RFHTAKFOFOFDEWIMR2ZSVG74EII642MM/ Code of Conduct: http://python.org/psf/codeofconduct/
