On this page
  1. calendar.Month
  2. Import
  3. Signature & Overview
  4. Methods & Attributes
  5. Usage
  6. Gotchas
  7. REPL Inspect

calendar.Month

Prev: calendar.month | Up: calendar | Next: calendar.monthcalendar
Rel: calendar.calendar, calendar.Calendar, calendar.Day, calendar.firstweekday
Ref: docs.python.org — calendar.Month
Tags: #public #python3 #stdlib #calendar


Import

import calendar
from calendar import Month

Signature & Overview

calendar.Month(*values)

calendar.Month class.

Methods & Attributes

Usage

import calendar

assert calendar.Month.JANUARY == 1 and calendar.Month.DECEMBER == 12

Gotchas

REPL Inspect

from calendar import Month
help(Month)

Linked from

Related notes