#NEWLINE# def _get_firstbday( wkday ) : #NEWLINE# #INDENT# "\n    wkday is the result of monthrange(year, month)\n\n    If it's a saturday or sunday, increment first business day to reflect this\n    " #NEWLINE# first = 1 #NEWLINE# if ( wkday == 5 ) : #NEWLINE# #INDENT# first = 3 #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( wkday == 6 ) : #NEWLINE# #INDENT# first = 2 #NEWLINE# #UNINDENT# #UNINDENT# return first