/external/python/cpython2/Lib/ |
D | calendar.py | 304 def formatmonthname(self, theyear, themonth, width, withyear=True): argument 310 s = "%s %r" % (s, theyear) 313 def prmonth(self, theyear, themonth, w=0, l=0): argument 317 print self.formatmonth(theyear, themonth, w, l), 319 def formatmonth(self, theyear, themonth, w=0, l=0): argument 325 s = self.formatmonthname(theyear, themonth, 7 * (w + 1) - 1) 330 for week in self.monthdays2calendar(theyear, themonth): 335 def formatyear(self, theyear, w=2, l=1, c=6, m=3): argument 345 a(repr(theyear).center(colwidth*m+c*(m-1)).rstrip()) 348 for (i, row) in enumerate(self.yeardays2calendar(theyear, m)): [all …]
|
/external/python/cpython3/Lib/ |
D | calendar.py | 337 def formatmonthname(self, theyear, themonth, width, withyear=True): argument 343 s = "%s %r" % (s, theyear) 346 def prmonth(self, theyear, themonth, w=0, l=0): argument 350 print(self.formatmonth(theyear, themonth, w, l), end='') 352 def formatmonth(self, theyear, themonth, w=0, l=0): argument 358 s = self.formatmonthname(theyear, themonth, 7 * (w + 1) - 1) 363 for week in self.monthdays2calendar(theyear, themonth): 368 def formatyear(self, theyear, w=2, l=1, c=6, m=3): argument 378 a(repr(theyear).center(colwidth*m+c*(m-1)).rstrip()) 381 for (i, row) in enumerate(self.yeardays2calendar(theyear, m)): [all …]
|
/external/python/cpython2/Doc/library/ |
D | calendar.rst | 120 .. method:: formatmonth(theyear, themonth[, w[, l]]) 129 .. method:: prmonth(theyear, themonth[, w[, l]]) 134 .. method:: formatyear(theyear[, w[, l[, c[, m]]]]) 144 .. method:: pryear(theyear[, w[, l[, c[, m]]]]) 158 .. method:: formatmonth(theyear, themonth[, withyear]) 165 .. method:: formatyear(theyear[, width]) 171 .. method:: formatyearpage(theyear[, width[, css[, encoding]]]) 269 .. function:: prmonth(theyear, themonth[, w[, l]]) 274 .. function:: month(theyear, themonth[, w[, l]])
|
/external/python/cpython3/Doc/library/ |
D | calendar.rst | 141 .. method:: formatmonth(theyear, themonth, w=0, l=0) 150 .. method:: prmonth(theyear, themonth, w=0, l=0) 155 .. method:: formatyear(theyear, w=2, l=1, c=6, m=3) 165 .. method:: pryear(theyear, w=2, l=1, c=6, m=3) 177 .. method:: formatmonth(theyear, themonth, withyear=True) 184 .. method:: formatyear(theyear, width=3) 190 .. method:: formatyearpage(theyear, width=3, css='calendar.css', encoding=None) 356 .. function:: prmonth(theyear, themonth, w=0, l=0) 361 .. function:: month(theyear, themonth, w=0, l=0)
|