class_docstr: This version of weekday does not allow n = 0.
class_docstr_tok: ["This","version","of","weekday","does","not","allow","n","=","0","."]
code: def __init__(self, wkday, n=None):
      if n == 0:
          raise ValueError("Can't create weekday with n==0")
  
      super(weekday, self).__init__(wkday, n)
  
imports: import calendar
  import datetime
  import heapq
  import itertools
  import re
  import sys
  from functools import wraps
  from warnings import warn
  from six import advance_iterator, integer_types
  from six.moves import _thread, range
  from ._common import weekday
label_desc: Use image node_id 1 to create a new weekday object from inherited base classes: weekdaybase with example: obj = weekday(wkday, n)