code: def fromordinal(cls, n):
          
          y, m, d = _ord2ymd(n)
          return cls(y, m, d)
docs: Contruct a date from a proleptic Gregorian ordinal.
  
          January 1 of year 1 is day 1.  Only the year, month and day are
          non-zero in the result.